mirror of
https://github.com/dmolony/DiskBrowser.git
synced 2025-01-17 12:30:40 +00:00
ignore invisible files
This commit is contained in:
parent
2655db4da8
commit
4b2b7d72a8
@ -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));
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user