package
0.1.7
Repository: https://github.com/92hackers/codetalks.git
Documentation: pkg.go.dev

# Functions

CompileIgnoreFile uses an ignore file as the input, parses the lines out of the file and invokes the CompileIgnoreLines method.
CompileIgnoreFileAndLines accepts a ignore file as the input, parses the lines out of the file and invokes the CompileIgnoreLines method with additional lines.
CompileIgnoreLines accepts a variadic set of strings, and returns a GitIgnore instance which converts and appends the lines in the input to regexp.Regexp patterns held within the GitIgnore objects "patterns" field.

# Structs

GitIgnore wraps a list of ignore pattern.
IgnorePattern encapsulates a pattern and if it is a negated pattern.

# Interfaces

IgnoreParser is an interface with `MatchesPaths`.