Interface VcsInformationProvider

    • Method Detail

      • repositories

        @NotNull
        VcsSearch<VcsRepositories> repositories()
        Returns:
        an instance of an object for listing/search of repositories
      • branches

        @NotNull
        VcsSearch<VcsBranches> branches​(String repositoryName)
        Returns:
        an instance of an object for listing/search of branches
      • getDefaultBranch

        @Nullable
        String getDefaultBranch​(@NotNull
                                String repository)
                         throws IOException
        Obtains the default branch reference for a repository
        Parameters:
        repository - full repository name with an owner, e.g. "JohnSmith/myrepo"
        Returns:
        default branch reference (e.g. "refs/heads/main") or null if such a repository has not been found
        Throws:
        IOException