package
Version:
v0.19.0
Opens a new window with list of versions in this module.
Published: Jul 28, 2022
License: MIT
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 3
Opens a new window with list of known importers.
Documentation
¶
func GetRootGitDir(workingDir string) (filesystem billy.Filesystem, err error)
Ignore is a gitignore-style object to ignore files/directories
func NewIgnore(filesystem billy.Filesystem, lines []string) (ignore *Ignore, err error)
NewIgnore produces an Ignore object, with compiled lines from defaultIgnoreFiles
which you can match files against
Match returns true if the provided file matches any of the defined ignores
Source Files
¶
Click to show internal directories.
Click to hide internal directories.