Documentation
¶
Overview ¶
Package repos defines a generic repository.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrorUnsupportedHost indicates the repo's host is unsupported. ErrorUnsupportedHost = errors.New("unsupported host") // ErrorInvalidGithubURL indicates the repo's GitHub URL is not in the proper format. ErrorInvalidGithubURL = errors.New("invalid GitHub repo URL") // ErrorInvalidURL indicates the repo's full GitHub URL was not passed. ErrorInvalidURL = errors.New("invalid repo flag") )
Functions ¶
This section is empty.
Types ¶
type RepoURL ¶
nolint:revive TODO: Remove RepoURL and replace all instances with clients.Repo interface.
func (*RepoURL) ValidGitHubURL ¶
ValidGitHubURL checks whether RepoURL represents a valid GitHub repo and returns errors otherwise.
Click to show internal directories.
Click to hide internal directories.