mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-06 03:50:02 +02:00
GP-1411 minor correction to filesystem index rebuild
This commit is contained in:
parent
83308221e5
commit
3f351eed41
1 changed files with 21 additions and 21 deletions
|
@ -588,8 +588,6 @@ public class IndexedLocalFileSystem extends LocalFileSystem {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
indexJournal.open();
|
|
||||||
try {
|
|
||||||
String conflictedItemStorageName = findItemStorageName(parentPath, name);
|
String conflictedItemStorageName = findItemStorageName(parentPath, name);
|
||||||
|
|
||||||
String storageName = pfile.getStorageName();
|
String storageName = pfile.getStorageName();
|
||||||
|
@ -611,6 +609,8 @@ public class IndexedLocalFileSystem extends LocalFileSystem {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
indexJournal.open();
|
||||||
|
try {
|
||||||
Folder folder = addFolderToIndexIfMissing(parentPath);
|
Folder folder = addFolderToIndexIfMissing(parentPath);
|
||||||
Item item = new Item(folder, name, pfile.getStorageName());
|
Item item = new Item(folder, name, pfile.getStorageName());
|
||||||
bumpNextFileIndexID(item.getStorageName());
|
bumpNextFileIndexID(item.getStorageName());
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue