Skip to content

Commit

Permalink
GP-0 fix unique file number generation for duplicate files
Browse files Browse the repository at this point in the history
The size of the map was used as the unique id for file that didn't have
an explicit file number.  GP-4632 change accidentally disturbed this and
was creating filenames that didn't match previous logic.
  • Loading branch information
dev747368 committed May 29, 2024
1 parent db608a1 commit 55be9ea
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ static class FileData<METADATATYPE> {
public FileSystemIndexHelper(GFileSystem fs, FSRLRoot fsFSRL) {
GFile rootGFile = GFileImpl.fromFSRL(fs, null, fsFSRL.withPath("/"), true, -1);
rootDir = new FileData<>(rootGFile, null, -1);
fileToEntryMap.put(rootDir.file, rootDir);
directoryToListing.put(rootDir.file, new HashMap<>());
}

Expand Down

0 comments on commit 55be9ea

Please sign in to comment.