Versions in this module Expand all Collapse all v0 v0.5.0 Nov 12, 2024 v0.4.1 Oct 7, 2024 Changes in this version + func ReadPatterns(fs afero.Fs, path []string) ([]gitignore.Pattern, error) + type Matcher interface + Match func(path string, isDir bool) (bool, error) + func NewMatcher(matcher gitignore.Matcher) Matcher + type MatcherFactory interface + NewMatcher func(fs afero.Fs) (Matcher, error) + func NewMatcherFactory() MatcherFactory + type MatcherFactoryImpl struct + func (mf MatcherFactoryImpl) NewMatcher(fs afero.Fs) (Matcher, error) + type MatcherImpl struct + func (m MatcherImpl) Match(path string, isDir bool) (bool, error)