protected final static String getParentPath(String path) {
		if (path.length() == 1) {
			return null;
		}
		int index = path.lastIndexOf(SEPARATOR_CHAR);
		if (index == 0) {
			return SEPARATOR;
		}
		return path.substring(0, index);
	}
Returns the full path for a specific folder or item
@param parentPath full parent path
@param name child folder or item name
Ghidra/Framework/FileSystem/src/main/java/ghidra/framework/store/local/LocalFileSystem.java