reverse hidden flag; ignore hidden files by default

This commit is contained in:
Lilian Jónsdóttir 2024-06-30 15:59:14 -07:00
parent 120af1476c
commit b26ac28b7d
4 changed files with 34 additions and 30 deletions

View file

@ -105,7 +105,7 @@ func walk_dir(dir string, f *filter.Filter) (files Files) {
return nil
}
if is_in_recursive_dir(dir, path) && f.IgnoreHidden() {
if is_in_recursive_dir(dir, path) && f.ShowHidden() {
return nil
}