mirror of
https://github.com/dmolony/DiskBrowser.git
synced 2025-08-15 08:27:19 +00:00
ignore invisible files
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user