GitIgnore

org.encalmo.utils.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
Show all

Members list

Value members

Concrete methods

final inline def append(pattern: String): GitIgnore
final def isAllowed(path: Path): Boolean
final def isAllowed(path: Iterable[String], isDirectory: Boolean): Boolean

Check whether path should be allowed

Check whether path should be allowed

Value parameters

isDirectory

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

path

path representes as a sequence of parts

Attributes

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

Value parameters

path

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

Attributes

Returns

true if path should be allowed

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

Check whether path should be ignored

Check whether path should be ignored

Value parameters

isDirectory

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

path

path representes as a sequence of parts

Attributes

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

Value parameters

path

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

Attributes

Returns

true if path should be ignored

final inline def prepend(pattern: String): GitIgnore

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

Concrete fields

lazy val patterns: Seq[Pattern]