Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetCredentials ¶
func SetCredentials(cfg config.ServerConfig, vcsClient vcs.Client) error
SetCredentials ensures Git auth is set up for cloning
Types ¶
type Repo ¶
type Repo struct { // informational BranchName string Config config.ServerConfig CloneURL string // exposed state Directory string }
func (*Repo) GetListOfChangedFiles ¶
GetListOfChangedFiles returns a list of files that have changed between the current branch and the target branch
func (*Repo) MergeIntoTarget ¶
type RepoManager ¶
type RepoManager struct {
// contains filtered or unexported fields
}
func NewRepoManager ¶
func NewRepoManager(cfg config.ServerConfig) *RepoManager
func (*RepoManager) Cleanup ¶
func (rm *RepoManager) Cleanup()
Click to show internal directories.
Click to hide internal directories.