Pass hidden file
This commit is contained in:
parent
0c3f15148d
commit
98256dad90
|
|
@ -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.
|
|
@ -1 +1 @@
|
|||
85bd2b2f0ac608417b010483b61fcd16
|
||||
ca59a045079b3b0d57696149fa73864f
|
||||
|
|
|
|||
Loading…
Reference in New Issue