Documentation ¶
Index ¶
Constants ¶
View Source
const ( ProtocolSSH = Protocol("ssh") ProtocolHTTPS = Protocol("https") )
View Source
const ( GithubSSHRepoPrefix = "git@github.com:sighupio" GithubHTTPSRepoPrefix = "https://github.com/sighupio" )
Variables ¶
View Source
var ErrUnsupportedGitProtocol = errors.New("unsupported git protocol")
Functions ¶
func CleanupRepoURL ¶
func RepoPrefixByProtocol ¶
func StripPrefix ¶
func StripSuffix ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.