@Override
	public boolean equals(Object obj) {
		if (this == obj) {
			return true;
		}
		if (!(obj instanceof GFile)) {
			return false;
		}
		GFile other = (GFile) obj;
		return Objects.equals(fileSystem, other.getFilesystem()) &&
			Objects.equals(fsrl.getPath(), other.getFSRL().getPath()) &&
			isDirectory == other.isDirectory();
	}
Protected constructor, use static helper methods to create new instances.
<p>
Creates a new GFile instance without any name parsing.

@param fileSystem the {@link GFileSystem} that owns this file
@param parentFile the parent of the new GFile or null if child-of-root.
@param isDirectory boolean flag to indicate that this is a directory
@param length length of the file (use -1 if not know or specified).
@param fsrl {@link FSRL} to assign to the file.
Ghidra/Features/Base/src/main/java/ghidra/formats/gfilesystem/GFileImpl.java