Merge remote-tracking branch

'origin/GP-4386_ghidra1_ProjectArchiveNullFileID--SQUASHED' into patch
(Closes #6254, Closes #6206)
This commit is contained in:
Ryan Kurtz 2024-03-07 09:21:46 -05:00
commit a8a5f48d2d
3 changed files with 20 additions and 35 deletions

View file

@ -218,8 +218,8 @@ public class GhidraFileData {
}
/**
* Returns a unique file-ID
* @return the ID
* Returns a unique file-ID if one has been established or null
* @return the file-ID or null if failed to obtain ID
*/
String getFileID() {
return fileID;

View file

@ -65,8 +65,13 @@ public interface DomainFile extends Comparable<DomainFile> {
public boolean exists();
/**
* Returns a unique file-ID
* @return the ID
* Returns a unique file-ID if one has been established or null. Examples which may result in
* null ID:
* <ul>
* <li>Very old project file which pre-dates introduction of file ID, or</li>
* <li>Remote versioned file with lost connection</li>
* </ul>
* @return the file-ID or null if failed to obtain ID.
*/
public String getFileID();