FS: Ignore folders starting with _ like "__MACOSX"

Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
Michael Mayer 2022-10-07 11:54:37 +02:00
parent 810f01f0ae
commit c51c95406c

View file

@ -65,7 +65,7 @@ func FileNameHidden(name string) bool {
prefix := name[0:1]
switch prefix {
case ".", "@":
case ".", "@", "_":
return true
default:
return false