docs: public static String getParentPath(String path) {
  		String parentPath = path;
  
  		if (Platforms.FILE_PATH_SEPARATOR.equals(parentPath)) {
  			return parentPath;
  		}
  
  		parentPath = MoreStringUtil.removeEnd(parentPath, Platforms.FILE_PATH_SEPARATOR_CHAR);
  
  		int idx = parentPath.lastIndexOf(Platforms.FILE_PATH_SEPARATOR_CHAR);
  		if (idx >= 0) {
  			parentPath = parentPath.substring(0, idx + 1);
  		} else {
  			parentPath = Platforms.FILE_PATH_SEPARATOR;
  		}
  
  		return parentPath;
  	}