Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RepositoryFormatRegex = regexp.MustCompile(`^[a-zA-Z0-9_.-]+/[a-zA-Z0-9_.-]+$`)
repository format should be owner/repo
Functions ¶
func DetectRepository ¶
DetectRepository attempts to detect the GitHub repository from .git/config Returns the repository in owner/repo format, or an error if detection fails
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.