Pass hidden file

This commit is contained in:
FongMi 2023-05-04 17:43:24 +08:00
parent 0c3f15148d
commit 98256dad90
3 changed files with 2 additions and 1 deletions

View File

@ -47,6 +47,7 @@ public class Local extends Spider {
if (files == null) return Result.string(items);
Arrays.sort(files, (a, b) -> a.getName().compareTo(b.getName()));
for (File file : files) {
if (file.getName().startsWith(".")) continue;
if (file.isDirectory()) folders.add(create(file));
else if (Utils.MEDIA.contains(Utils.getExt(file.getName()))) media.add(create(file));
}

Binary file not shown.

View File

@ -1 +1 @@
85bd2b2f0ac608417b010483b61fcd16
ca59a045079b3b0d57696149fa73864f