Documentation ¶
Overview ¶
package ghrepo is a copy of https://github.com/cli/cli/tree/trunk/internal/ghrepo
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatRemoteURL ¶
TODO there is a parallel implementation for non-isolated commands
func GenerateRepoURL ¶
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 FromFullNameWithHost ¶
FromFullNameWithHost is like FromFullName that defaults to a specific host for values that don't explicitly include a hostname.
func NewWithHost ¶
NewWithHost is like New with an explicit host name
Click to show internal directories.
Click to hide internal directories.