GitIgnore

com.github.arturopala.gitignore.GitIgnore
See theGitIgnore companion object
case class GitIgnore(gitPatterns: Seq[String])

Attributes

Note:

Paths representing directories MUST end with a slash, paths representing files MUST NOT end with a slash.

Companion:
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

final def isAllowed(path: Iterable[String], isDirectory: Boolean): Boolean

Check whether path should be allowed

Check whether path should be allowed

Attributes

isDirectory

true if this path represents a directory (folder), false otherwise

path

path representes as a sequence of parts

Returns:

true if path should be allowed

final def isAllowed(path: String): Boolean

Check whether path should be allowed

Check whether path should be allowed

Attributes

path

path may end with slash [/] only if it denotes a directory

Returns:

true if path should be allowed

final def isIgnored(path: Iterable[String], isDirectory: Boolean): Boolean

Check whether path should be ignored

Check whether path should be ignored

Attributes

isDirectory

true if this path represents a directory (folder), false otherwise

path

path representes as a sequence of parts

Returns:

true if path should be ignored

final def isIgnored(path: String): Boolean

Check whether path should be ignored

Check whether path should be ignored

Attributes

path

path may end with slash [/] only if it denotes a directory

Returns:

true if path should be ignored

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Concrete fields

lazy val patterns: Seq[Pattern]