Categorygithub.com/moby/patternmatcher
modulepackage
0.6.0
Repository: https://github.com/moby/patternmatcher.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

Matches returns true if file matches any of the patterns and isn't excluded by any of the subsequent patterns.
MatchesOrParentMatches returns true if file matches any of the patterns and isn't excluded by any of the subsequent patterns.
New creates a new matcher object for specific patterns that can be used later to match against patterns against paths.

# Structs

MatchInfo tracks information about parent dir matches while traversing a filesystem.
Pattern defines a single regexp used to filter file paths.
PatternMatcher allows checking paths against a list of patterns.