Documentation ¶ Overview ¶ Package gitignore implements .gitignore check predicate. Uses only checked in .gitignore files, ignoring any globals. Index ¶ func NewExcluder(dir string) (fileset.Excluder, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func NewExcluder ¶ func NewExcluder(dir string) (fileset.Excluder, error) NewExcluder returns a predicate that checks whether the given absolute path under given `dir` is excluded by some .gitignore file which is active in that directory. Types ¶ This section is empty. Source Files ¶ View all Source files excluder.go Click to show internal directories. Click to hide internal directories.