private int computeStartIndex(List<CramFsInode> childList, CramFsInode parentInode) {

		int startIndex = 0;

		//Iterate through full childlist until an inode address matches the directory offset.
		for (int i = 0; i < childList.size(); i++) {
			if (childList.get(i).getAddress() == parentInode.getOffsetAdjusted()) {
				startIndex = i;
				break;
			}
		}
		return startIndex;
	}
Used to find the first entry in a directory from the list of child inodes.
@param childList the list of child inodes.
@param parentInode the parent cramFsInode.
@return the start index in a directory.
Ghidra/Features/FileFormats/src/main/java/ghidra/file/formats/cramfs/CramFsFileSystem.java