FS: Ignore folders starting with _ like "__MACOSX"
Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
parent
810f01f0ae
commit
c51c95406c
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ func FileNameHidden(name string) bool {
|
||||||
prefix := name[0:1]
|
prefix := name[0:1]
|
||||||
|
|
||||||
switch prefix {
|
switch prefix {
|
||||||
case ".", "@":
|
case ".", "@", "_":
|
||||||
return true
|
return true
|
||||||
default:
|
default:
|
||||||
return false
|
return false
|
||||||
|
|
Loading…
Reference in a new issue