Versions in this module Expand all Collapse all v5 v5.4.6 May 6, 2022 v5.4.5 Mar 19, 2022 Changes in this version + type MatchResult int + const Exclude + const Include + const NoMatch + type Matcher interface + Match func(path []string, isDir bool) bool + func NewMatcher(ps []Pattern) Matcher + type Pattern interface + Match func(path []string, isDir bool) MatchResult + func LoadGlobalPatterns(fs billy.Filesystem) (ps []Pattern, err error) + func LoadSystemPatterns(fs billy.Filesystem) (ps []Pattern, err error) + func ParsePattern(p string, domain []string) Pattern + func ReadPatterns(fs billy.Filesystem, path []string, ignoreFiles []string) (ps []Pattern, err error) Other modules containing this package github.com/get-woke/go-git