Documentation ¶
Index ¶
- type LocalRepo
- func (r *LocalRepo) CheckOut(name git.BranchName) error
- func (r *LocalRepo) Commit(message string, filesToAdd ...string) error
- func (r *LocalRepo) DoesBranchExist(ctx util.Logger, name string) (bool, error)
- func (r *LocalRepo) GetCurrentBranch() git.BranchName
- func (r *LocalRepo) GetCurrentCommit() string
- func (r *LocalRepo) GetMostRecentTagRef(pattern string) (string, error)
- func (r *LocalRepo) GetUpstreamStatus() string
- func (r *LocalRepo) Git() (git.GitWrapper, error)
- func (r *LocalRepo) HasUpstream() bool
- func (r *LocalRepo) IsDirty() bool
- func (r *LocalRepo) Push() error
- func (r *LocalRepo) SwitchToBranchAndPull(logger util.Logger, name string) error
- func (r *LocalRepo) SwitchToNewBranch(ctx util.Logger, parent, child string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LocalRepo ¶
type LocalRepo struct { Name string `yaml:"-" json:""` Path string `yaml:"path,omitempty" json:"path,omitempty"` // contains filtered or unexported fields }
func (*LocalRepo) DoesBranchExist ¶
func (*LocalRepo) GetCurrentBranch ¶
func (r *LocalRepo) GetCurrentBranch() git.BranchName
func (*LocalRepo) GetCurrentCommit ¶
func (*LocalRepo) GetMostRecentTagRef ¶
func (*LocalRepo) GetUpstreamStatus ¶
func (*LocalRepo) HasUpstream ¶
func (*LocalRepo) SwitchToBranchAndPull ¶
Click to show internal directories.
Click to hide internal directories.