Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(*PatternMatcher)
Option is the type for functional options.
func WithReplaceExcludes ¶
func WithReplaceIncludes ¶
type PatternMatcher ¶
type PatternMatcher struct {
// contains filtered or unexported fields
}
func New ¶
func New(options ...Option) *PatternMatcher
func (*PatternMatcher) ExcludePatterns ¶
func (pm *PatternMatcher) ExcludePatterns() []glob.Glob
func (*PatternMatcher) IncludePatterns ¶
func (pm *PatternMatcher) IncludePatterns() []glob.Glob
func (*PatternMatcher) Match ¶
func (pm *PatternMatcher) Match(value string) bool
Click to show internal directories.
Click to hide internal directories.