urlmanager

package
v0.6.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 8, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCloneURL

func GetCloneURL(gitprovider, repoLink, repo, commitID, forkSlug, repoSlug string) (string, error)

GetCloneURL returns repo clone url for given git provider

func GetCommitDiffURL

func GetCommitDiffURL(gitprovider, path, baseCommit, targetCommit, forkSlug string) (string, error)

GetCommitDiffURL returns commit diff url for given git provider

func GetPullRequestDiffURL

func GetPullRequestDiffURL(gitprovider, path string, prNumber int) (string, error)

GetPullRequestDiffURL returns PR Diff url for given git provider

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL