Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatRemoteURL ¶ added in v0.11.1
TODO there is a parallel implementation for non-isolated commands
func GenerateRepoURL ¶ added in v0.11.1
func SetDefaultHost ¶ added in v1.8.1
func SetDefaultHost(host string)
SetDefaultHost overrides the default GitHub hostname for FromFullName. TODO: remove after FromFullName approach is revisited
Types ¶
type Interface ¶
Interface describes an object that represents a GitHub repository
func FromFullName ¶
FromFullName extracts the GitHub repository information from the following formats: "OWNER/REPO", "HOST/OWNER/REPO", and a full URL.
func NewWithHost ¶ added in v0.11.0
NewWithHost is like New with an explicit host name
Click to show internal directories.
Click to hide internal directories.