fix walkdir not respecting reversed hidden flag
This commit is contained in:
parent
a5654af0ff
commit
fbd6bfb507
|
@ -105,7 +105,7 @@ func walk_dir(dir string, f *filter.Filter) (files Files) {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
if is_in_recursive_dir(dir, path) && f.ShowHidden() {
|
if is_in_recursive_dir(dir, path) && !f.ShowHidden() {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue