Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CompoundPathMatcher ¶
type CompoundPathMatcher struct {
// contains filtered or unexported fields
}
func NewCompoundPathMatcher ¶
func NewCompoundPathMatcher(matchers ...PathMatcher) *CompoundPathMatcher
func (*CompoundPathMatcher) Add ¶
func (c *CompoundPathMatcher) Add(matcher PathMatcher)
func (*CompoundPathMatcher) Match ¶
func (c *CompoundPathMatcher) Match(path string) bool
type GitignorePathMatcher ¶
type GitignorePathMatcher struct {
// contains filtered or unexported fields
}
func NewGitignorePathMatcher ¶
func NewGitignorePathMatcher() (*GitignorePathMatcher, error)
func (*GitignorePathMatcher) Any ¶
func (g *GitignorePathMatcher) Any() bool
func (*GitignorePathMatcher) Match ¶
func (g *GitignorePathMatcher) Match(path string) bool
type PathMatcher ¶
type RegexPathMatcher ¶
type RegexPathMatcher struct {
// contains filtered or unexported fields
}
func NewRegexPathMatcher ¶
func NewRegexPathMatcher(pattern string) (*RegexPathMatcher, error)
func (*RegexPathMatcher) Match ¶
func (r *RegexPathMatcher) Match(path string) bool
Click to show internal directories.
Click to hide internal directories.