Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Criteria ¶
type Criteria struct { Include []string `mapstructure:"include,omitempty"` Exclude []string `mapstructure:"exclude,omitempty"` // ExcludeOlderThan allows excluding files whose modification time is older // than the specified age. ExcludeOlderThan time.Duration `mapstructure:"exclude_older_than"` OrderingCriteria OrderingCriteria `mapstructure:"ordering_criteria,omitempty"` }
type Matcher ¶
type Matcher struct {
// contains filtered or unexported fields
}
func (Matcher) MatchFiles ¶
MatchFiles gets a list of paths given an array of glob patterns to include and exclude
type OrderingCriteria ¶
Click to show internal directories.
Click to hide internal directories.