Documentation
¶
Index ¶
- func CreateRefString(owner string, repo string, path string, ref string) string
- func DetermineGitHubRefType(owner string, repo string, unknownRef string) (*PossiblyStableTag, *Branch, bool, error)
- func IsSHAInRepo(owner string, repo string, commitSHA string) (bool, error)
- func ListTagsInRepo(owner string, repo string) ([]string, error)
- func RefToParts(ref string) (string, string, string, string, error)
- type Branch
- type PossiblyStableTag
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateRefString ¶ added in v0.2.0
func DetermineGitHubRefType ¶
func DetermineGitHubRefType(owner string, repo string, unknownRef string) (*PossiblyStableTag, *Branch, bool, error)
DetermineGitHubRefType will use the GitHub API to determine if a passed ref is a commit, branch or tag
func ListTagsInRepo ¶ added in v0.2.0
Types ¶
type PossiblyStableTag ¶
Click to show internal directories.
Click to hide internal directories.