mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-09-28 17:11:11 -09:00
Ignore ._ files when searching for files by extension
This commit is contained in:
@@ -161,6 +161,12 @@ public class GModule {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
||||||
|
// Ignore ._ resource fork files
|
||||||
|
if (child.getName().startsWith("._")) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
if (child.getName().endsWith(extension)) {
|
if (child.getName().endsWith(extension)) {
|
||||||
accumulator.add(child);
|
accumulator.add(child);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user