public static @NotNull FilePath createDvcsFilePath(@NotNull String path, boolean isDirectory) {
    return path.contains(URLUtil.SCHEME_SEPARATOR)
           ? new UrlFilePath(path, isDirectory)
           : new LocalFilePath(path, isDirectory);
  }
public static @NotNull FilePath createDvcsFilePath(@NotNull String path, boolean isDirectory)