Versions in this module Expand all Collapse all v0 v0.1.1 Oct 22, 2021 v0.1.0 Oct 22, 2021 Changes in this version + func Matches(file string, patterns []string) (bool, error) + type Pattern struct + func (p *Pattern) Exclusion() bool + func (p *Pattern) String() string + type PatternMatcher struct + func NewPatternMatcher(patterns []string) (*PatternMatcher, error) + func (pm *PatternMatcher) Exclusions() bool + func (pm *PatternMatcher) Matches(file string) (bool, error) + func (pm *PatternMatcher) Patterns() []*Pattern