Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CloneRepo ¶
func CloneRepo(url string, dst string) (*git.Repository, error)
CloneRepo clones a repository from `url` into `dst`
func GetHeadHash ¶
func GetHeadHash(repo *git.Repository) (string, error)
GetHeadHash returns the hash of of the HEAD reference commit
func SplitUrlPath ¶
SplitUrlPath splits an url path into its parts
func ValidateRepoUrl ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.