Documentation ¶
Index ¶
- func AddAllFilesAndCommit(repoDir string, tag string) error
- func CloneRepo(gitConfig config2.GitConfig, repoName distribution.RepoName, branch string, ...) error
- func DoesRepoHaveUnstagedChanges(repoDirectory string) (bool, error)
- func GetRepo(gitConfig config2.GitConfig, repoName distribution.RepoName, branch string, ...) (*git.Repository, error)
- func InitTargetRepo(remoteURL string, localRepoPath string, signature object.Signature, ...) (*git.Repository, error)
- func PushCommitsAndTags(repoDir string, tag string, authMethod transport.AuthMethod) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddAllFilesAndCommit ¶
func CloneRepo ¶
func CloneRepo(gitConfig config2.GitConfig, repoName distribution.RepoName, branch string, cloneDirPath string, auth transport.AuthMethod) error
func GetRepo ¶
func GetRepo(gitConfig config2.GitConfig, repoName distribution.RepoName, branch string, cloneDirPath string, auth transport.AuthMethod) (*git.Repository, error)
func InitTargetRepo ¶
func PushCommitsAndTags ¶
func PushCommitsAndTags(repoDir string, tag string, authMethod transport.AuthMethod) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.