Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrRepositoryAlreadyExists = git.ErrRepositoryAlreadyExists
Functions ¶
func CheckoutRepository ¶ added in v0.13.0
func CheckoutRepository(path, ref, commitSHA string, skipTLSVerify bool) (*git.Repository, error)
CheckoutRepository checks out a specific commit in a given repository
func CloneRepository ¶
func CloneRepository(path, url, ref string, skipTLSVerify bool) (*git.Repository, error)
CloneRepository clones a repository from a given URL and reference to a temporary directory
func GetAuthUrl ¶
GetAuthUrl returns a clone URL with an access token for private repositories
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.