@NotNull
  private static Target createFolderStructure(@NotNull SvnVcs vcs,
                                              @NotNull VirtualFile file,
                                              @NotNull ShareDialog.ShareTarget shareTarget,
                                              boolean createStandardStructure,
                                              @NotNull Url parentUrl,
                                              @NotNull String commitText) throws VcsException {
    return switch (shareTarget) {
      case useSelected -> Target.on(parentUrl, Revision.HEAD);
      case useProjectName -> createRemoteFolder(vcs, parentUrl, file.getName(), commitText);
      default -> {
        Target projectRoot = createRemoteFolder(vcs, parentUrl, file.getName(), commitText);
        Target trunk = createRemoteFolder(vcs, projectRoot.getUrl(), TRUNK_NAME, commitText);

        if (createStandardStructure) {
          createRemoteFolder(vcs, projectRoot.getUrl(), BRANCHES_NAME, commitText);
          createRemoteFolder(vcs, projectRoot.getUrl(), TAGS_NAME, commitText);
        }
        yield trunk;
      }
    };
  }
@NotNull
  private static Target createFolderStructure(@NotNull SvnVcs vcs,
                                              @NotNull VirtualFile file,
                                              @NotNull ShareDialog.ShareTarget shareTarget,
                                              boolean createStandardStructure,
                                              @NotNull Url parentUrl,
                                              @NotNull String commitText)