Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GlobMatch ¶
type GlobMatch struct {
// contains filtered or unexported fields
}
GlobMatch handle glob matching
func NewBaseGlobMatch ¶
NewBaseGlobMatch compiles a new matcher. Arg true should be set to false if the output is inverted.
func NewGlobMatch ¶
NewGlobMatch creates a new GlobMatch instance or error
func NewPathGlobMatch ¶
NewPathGlobMatch compiles a new matcher. Arg true should be set to false if the output is inverted.
func (*GlobMatch) MarshalText ¶
MarshalText is really a debug function
type MultiMatch ¶
type MultiMatch struct {
// contains filtered or unexported fields
}
MultiMatch has matching on a list of matchers
func NewMultiMatch ¶
func NewMultiMatch(matchers []Matcher) *MultiMatch
NewMultiMatch creates a new MultiMatch instance
func (*MultiMatch) MarshalText ¶
func (mm *MultiMatch) MarshalText() ([]byte, error)
MarshalText satifies the ?? interface
func (*MultiMatch) Match ¶
func (mm *MultiMatch) Match(arg string) bool
Match satifies the Matcher iterface
Click to show internal directories.
Click to hide internal directories.