mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-09-10 09:13:58 -09:00
GP-2509 GP-2644 Improved Ghidra URL support. Added support for Ghidra
URL linked files and folders within project.
This commit is contained in:
@@ -143,6 +143,8 @@ public class RepositoryFileUpgradeScript extends GhidraScript {
|
||||
}
|
||||
|
||||
private boolean performProgramUpgrade(DomainFile df) throws IOException, CancelledException {
|
||||
// Do not follow folder-links or consider program links. Using content type
|
||||
// to filter is best way to control this.
|
||||
if (!ProgramContentHandler.PROGRAM_CONTENT_TYPE.equals(df.getContentType())) {
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user