Documentation ¶
Index ¶
- func GetCloneURL(gitprovider, repoLink, repo, commitID, forkSlug, repoSlug string) (string, error)
- func GetCommitDiffURL(gitprovider, path, baseCommit, targetCommit, forkSlug string) (string, error)
- func GetFileDownloadURL(gitprovider, commitID, repoSlug, filePath string) (string, error)
- func GetPullRequestDiffURL(gitprovider, path string, prNumber int) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCloneURL ¶
GetCloneURL returns repo clone url for given git provider
func GetCommitDiffURL ¶
GetCommitDiffURL returns commit diff url for given git provider
func GetFileDownloadURL ¶ added in v0.10.2
GetFileDownloadURL returns download URL for file in repo
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.