package
Version:
v0.5.5
Opens a new window with list of versions in this module.
Published: Jun 24, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
-
func GetCloneURL(gitprovider, repoLink, repo, commitID, forkSlug, repoSlug string) (string, error)
-
func GetCommitDiffURL(gitprovider, path, baseCommit, targetCommit, forkSlug string) (string, error)
-
func GetPullRequestDiffURL(gitprovider, path string, prNumber int) (string, error)
func GetCloneURL(gitprovider, repoLink, repo, commitID, forkSlug, repoSlug string) (string, error)
GetCloneURL returns repo clone url for given git provider
func GetCommitDiffURL(gitprovider, path, baseCommit, targetCommit, forkSlug string) (string, error)
GetCommitDiffURL returns commit diff url for given git provider
GetPullRequestDiffURL returns PR Diff url for given git provider
Source Files
¶
Click to show internal directories.
Click to hide internal directories.