Support filtering by size
This commit is contained in:
@@ -8,10 +8,12 @@ type ZurgConfigV1 struct {
|
||||
log *logutil.Logger
|
||||
}
|
||||
type Directory struct {
|
||||
GroupOrder int `yaml:"group_order"`
|
||||
Group string `yaml:"group"`
|
||||
Filters []*FilterConditionsV1 `yaml:"filters"`
|
||||
OnlyShowTheBiggestFile bool `yaml:"only_show_the_biggest_file"`
|
||||
GroupOrder int `yaml:"group_order"`
|
||||
Group string `yaml:"group"`
|
||||
Filters []*FilterConditionsV1 `yaml:"filters"`
|
||||
OnlyShowTheBiggestFile bool `yaml:"only_show_the_biggest_file"`
|
||||
OnlyShowFilesWithSizeLte int64 `yaml:"only_show_files_with_size_lte"`
|
||||
OnlyShowFilesWithSizeGte int64 `yaml:"only_show_files_with_size_gte"`
|
||||
}
|
||||
|
||||
type FilterConditionsV1 struct {
|
||||
|
||||
Reference in New Issue
Block a user