protected synchronized void deleteEmptyVersionedFolders(String folderPath) {
		try {
			if (isVersioned) {
				if (folderPath.length() == 1) {
					return;
				}
				String[] items = getItemNames(folderPath, false);
				if (items.length > 0) {
					return;
				}
				String[] folders = getFolderNames(folderPath);
				if (folders.length > 0) {
					return;
				}
				deleteFolder(folderPath);
				deleteEmptyVersionedFolders(getParentPath(folderPath));
			}
		}
		catch (IOException e) {
			// ignore
		}
	}
Remove the directory which corresponds to the specified folder path if it is empty.
If folder directory is removed, this method is invoked recursively for parent folder
path which may also be removed if it is empty.
This method is intended for use with a versioned file system
which only retains folders if they contain one or more items or sub-folders.
@param folderPath folder path
Ghidra/Framework/FileSystem/src/main/java/ghidra/framework/store/local/LocalFileSystem.java