revert filter.showhidden to filter.ignorehidden

because blank filter should show all files
This commit is contained in:
Lilian Jónsdóttir 2024-07-03 10:17:08 -07:00
parent 1dd192cc91
commit dff6c62e56
4 changed files with 26 additions and 25 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.ShowHidden() {
if is_in_recursive_dir(dir, path) && !f.IgnoreHidden() {
return nil
}