Versions in this module Expand all Collapse all v1 v1.7.1 Jan 29, 2021 v1.7.0 Dec 8, 2020 Changes in this version + type GitIgnore struct + func CompileIgnoreFile(fpath string) (*GitIgnore, error) + func CompileIgnoreFileAndLines(fpath string, lines ...string) (*GitIgnore, error) + func CompileIgnoreLines(lines ...string) (*GitIgnore, error) + func (g GitIgnore) MatchesPath(f string) bool + type IgnoreParser interface + MatchesPath func(f string) bool