GitIgnore

case class GitIgnore(gitPatterns: Seq[String])

Filter paths using .gitignore patterns.

Note

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

Companion
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

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

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

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

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product

Concrete fields

lazy val patterns: Seq[Pattern]