dotignore

WebJar for dotignore

License

License

MIT
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

dotignore
Last Version

Last Version

0.1.2
Release Date

Release Date

Type

Type

jar
Description

Description

dotignore
WebJar for dotignore
Project URL

Project URL

https://www.webjars.org
Source Code Management

Source Code Management

https://github.com/bmeck/dotignore

Download dotignore

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/dotignore/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>dotignore</artifactId>
    <version>0.1.2</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/dotignore/
implementation 'org.webjars.npm:dotignore:0.1.2'
// https://jarcasting.com/artifacts/org.webjars.npm/dotignore/
implementation ("org.webjars.npm:dotignore:0.1.2")
'org.webjars.npm:dotignore:jar:0.1.2'
<dependency org="org.webjars.npm" name="dotignore" rev="0.1.2">
  <artifact name="dotignore" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='dotignore', version='0.1.2')
)
libraryDependencies += "org.webjars.npm" % "dotignore" % "0.1.2"
[org.webjars.npm/dotignore "0.1.2"]

Dependencies

compile (1)

Group / Artifact Type Version
org.webjars.npm : minimatch jar [3.0.4,4)

Project Modules

There are no modules declared in this project.

dotignore

ignored $IGNOREFILE

Check the ignorefile against the current directory. Print out if a file should be ignored by prefixing with a -. If the file should not be ignored prefix it with a +.

API

exports.createMatcher(str)

Return a Matcher that fully matches the str argument.

str should conform to the .gitignore specification.

Matcher.shouldIgnore(name)

Test that all the rules provided to create the matcher match the name given. / is expected as the path delimiter. Returns true if the name should be ignored.

LICENSE

MIT

Versions

Version
0.1.2