Documentation
¶
Index ¶
- Variables
- func CloneRepo(ctx context.Context, repoURL, repoPath string) error
- func DefaultCloneOrUpdate(ctx context.Context, repoURL, repoPath string) error
- func DefaultUpdateRepo(ctx context.Context, repoPath string) error
- func ForceReclone(ctx context.Context, repoURL, repoPath string) error
- func IsValidGitRepo(repoPath string) bool
Constants ¶
This section is empty.
Variables ¶
View Source
var ( CloneOrUpdate = DefaultCloneOrUpdate UpdateRepo = DefaultUpdateRepo CloneRepoFunc = CloneRepo )
Function variables to allow mocking
Functions ¶
func DefaultCloneOrUpdate ¶
func IsValidGitRepo ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.