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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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.