object GitIgnore extends Serializable
- Alphabetic
- By Inheritance
- GitIgnore
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- final case class AnyDirectoryPattern(gitPattern: String) extends Pattern with Product with Serializable
Matches any directories chain of the path.
- final case class AnyNamePattern(gitPattern: String) extends Pattern with Product with Serializable
Matches any single segment of the path.
- final case class AnyPathPattern(gitPattern: String) extends Pattern with Product with Serializable
Matches any segments chain of the path.
- final case class AnyPrefixPattern(gitPattern: String) extends Pattern with Product with Serializable
Matches any initial segments prefix of the path.
- final case class DirectoryPrefixPattern(gitPattern: String) extends Pattern with Product with Serializable
Matches initial directories prefix of the path.
- final case class GlobMatcher(gitPattern: String) extends Matcher with Product with Serializable
Matches path using a Git pattern compiled as a Glob.Pattern.
- case class Ignore(position: Int) extends Vote with Product with Serializable
- final case class LiteralMatcher(gitPattern: String) extends Matcher with Product with Serializable
Matches path literally with Git pattern.
- sealed trait Matcher extends AnyRef
Matches path against the Git pattern.
Matches path against the Git pattern.
Each method returns the furthest matched position, or -1 if not matched at all.
- final case class Negate(nestedPattern: Pattern) extends Pattern with Product with Serializable
Reverts match, if any, of the nested pattern.
- sealed trait Pattern extends AnyRef
Internal model of the path pattern.
- case class Unignore(position: Int) extends Vote with Product with Serializable
- sealed trait Vote extends AnyRef
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def apply(gitPattern: String): GitIgnore
Create GitIgnore from a single well-formed pattern.
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def parse(gitIgnore: String): GitIgnore
Parse .gitignore file content into GitIgnore instance.
- final def parseGitIgnore(gitIgnore: String): List[String]
Parse .gitignore file content and return sequence of patterns.
- final def parseGitPattern(p: String): Pattern
Parse single Git pattern into internal representation.
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- case object Abstain extends Vote with Product with Serializable
- object Matcher
Re-usable matcher instance.
- object Vote