public synchronized List<GFile> getListing(GFile directory) {
		Map<String, FileData<METADATATYPE>> dirListing = getDirectoryContents(directory, false);
		if (dirListing == null) {
			return List.of();
		}
		return dirListing.values()
				.stream()
				.map(fd -> fd.file)
				.toList();
	}
Mirrors {@link GFileSystem#getListing(GFile)} interface.

@param directory {@link GFile} directory to get the list of child files that have been
added to this index, null means root directory
@return {@link List} of GFile files that are in the specified directory, never null
Ghidra/Features/Base/src/main/java/ghidra/formats/gfilesystem/FileSystemIndexHelper.java