feat: add hide dotfiles param (#1148)

This commit is contained in:
Tiger Nie
2020-11-20 18:51:28 +08:00
committed by GitHub
parent dcbc3286e2
commit 10e399b3c3
8 changed files with 55 additions and 11 deletions

View File

@@ -33,6 +33,7 @@ type User struct {
Sorting files.Sorting `json:"sorting"`
Fs afero.Fs `json:"-" yaml:"-"`
Rules []rules.Rule `json:"rules"`
HideDotfiles bool `json:"hideDotfiles"`
}
// GetRules implements rules.Provider.