Versions in this module Expand all Collapse all v0 v0.1.0 Aug 17, 2026 Changes in this version + func NormalizePath(path string, rootDir string) (string, error) + type EmptyPatternErr struct + func (*EmptyPatternErr) Error() string + type Matcher interface + Err func() error + Extend func(patterns ...string) Matcher + ExtendFromFile func(path string) Matcher + ExtendFromPatterns func(patterns ...Pattern) Matcher + ExtendFromReader func(reader io.Reader) Matcher + Len func() int + Match func(path string, isDir bool) bool + MatchNormalized func(path string, isDir bool) bool + SetRootDir func(rootDir string) Matcher + func NewMatcher(rootDir string, patterns ...string) Matcher + type Pattern interface + Err func() error + Match func(path string, isDir bool, rootDir string) (isMatch bool, result bool) + MatchNormalized func(path string, isDir bool) (isMatch bool, result bool) + func ParsePattern(pat string) Pattern + type RepoWalker interface + Err func() error + SetIgnoreFileName func(fileName string) RepoWalker + WalkRepo func(fs.WalkDirFunc) error + func NewRepoWalker(root string, patterns ...string) RepoWalker + func NewRepoWalkerFS(rootFS fs.FS, patterns ...string) RepoWalker