private int findRootDirIndex(List<File> dirList) {
		for (int i = 0; i < dirList.size(); i++) {
			if (localfsRootDir.equals(dirList.get(i))) {
				return i;
			}
		}
		return -1;
	}
A {@link GFileSystem} interface to a part of the user's local / native file system.
<p>
This class is a sub-view of the {@link LocalFileSystem}, and returns hybrid GFile objects
that have fully specified FSRL paths that are valid in the Root filesystem, but relative
GFile paths.
<p>
This class's name doesn't end with "FileSystem" to ensure it will not be auto-discovered
by the FileSystemFactoryMgr.
Ghidra/Features/Base/src/main/java/ghidra/formats/gfilesystem/LocalFileSystemSub.java