Documentation ¶
Index ¶
- func GetGitHistory(path string, tag string) ([]object.Commit, error)
- type ChangeSet
- type GoGitRepository
- func (g *GoGitRepository) CheckoutBranch(target string) error
- func (g GoGitRepository) CommitFile(branchName string, changeset []ChangeSet) error
- func (g GoGitRepository) CommitManifest(branchName string, content string, versions config.Versions, ...) error
- func (g GoGitRepository) ReplaceTaggedLines(filenames []string, sourceTag string, replaceTag string) ([]ChangeSet, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type GoGitRepository ¶
type GoGitRepository struct { RepositoryUrl string Auth *githttp.BasicAuth Repository *git.Repository Worktree *git.Worktree }
func (*GoGitRepository) CheckoutBranch ¶
func (g *GoGitRepository) CheckoutBranch(target string) error
func (GoGitRepository) CommitFile ¶
func (g GoGitRepository) CommitFile(branchName string, changeset []ChangeSet) error
func (GoGitRepository) CommitManifest ¶
func (g GoGitRepository) CommitManifest(branchName string, content string, versions config.Versions, extraFiles []config.ExtraFileConfig, dryRun bool) error
func (GoGitRepository) ReplaceTaggedLines ¶
Click to show internal directories.
Click to hide internal directories.