Ignore ._ files when searching for files by extension

This commit is contained in:
Ryan Kurtz 2020-05-28 07:38:17 -04:00
parent 777bcbef17
commit 539710cdf7

View file

@ -161,6 +161,12 @@ public class GModule {
}
}
else {
// Ignore ._ resource fork files
if (child.getName().startsWith("._")) {
continue;
}
if (child.getName().endsWith(extension)) {
accumulator.add(child);
}