ignore invisible files

This commit is contained in:
Denis Molony 2018-07-23 20:16:00 +10:00
parent 2655db4da8
commit 4b2b7d72a8

View File

@ -91,6 +91,8 @@ public class Utility
public static boolean validFileType (String filename)
{
if (filename.startsWith (".")) // ignore invisible files
return false;
return suffixes.contains (getSuffix (filename));
}