Documentation
¶
Index ¶
- type ExternalGit
- func (ExternalGit) Clone(ops git.CloneOps) error
- func (eg ExternalGit) CreateLightweightTag(repo git.Repo, tag string, branch git.BranchName) error
- func (ExternalGit) CurrentBranch(repo git.Repo) (git.BranchName, error)
- func (g ExternalGit) DiffersFromRemote(repo git.Repo) (bool, error)
- func (ExternalGit) Fetch(repo git.Repo) error
- func (ExternalGit) HasChanges(repo git.Repo) (bool, error)
- func (eg ExternalGit) ListBranches(repo git.Repo) ([]git.BranchName, error)
- func (ExternalGit) ListRemotes(repo git.Repo) ([]git.Remote, error)
- func (eg ExternalGit) Pull(repo git.Repo, rebase bool) error
- func (eg ExternalGit) PullBranch(repo git.Repo, branch git.BranchName, rebase bool) error
- func (eg ExternalGit) PushTag(repo git.Repo, tag git.Tag, remote git.Remote) error
- func (g ExternalGit) Status(repo git.Repo) (git.StatusRes, error)
- func (eg ExternalGit) Switch(repo git.Repo, br git.BranchName, force bool) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExternalGit ¶
type ExternalGit struct{}
func NewExternalGit ¶
func NewExternalGit() (ExternalGit, error)
func (ExternalGit) CreateLightweightTag ¶
func (eg ExternalGit) CreateLightweightTag(repo git.Repo, tag string, branch git.BranchName) error
func (ExternalGit) CurrentBranch ¶
func (ExternalGit) CurrentBranch(repo git.Repo) (git.BranchName, error)
func (ExternalGit) DiffersFromRemote ¶
func (g ExternalGit) DiffersFromRemote(repo git.Repo) (bool, error)
func (ExternalGit) HasChanges ¶
func (ExternalGit) HasChanges(repo git.Repo) (bool, error)
func (ExternalGit) ListBranches ¶
func (eg ExternalGit) ListBranches(repo git.Repo) ([]git.BranchName, error)
func (ExternalGit) ListRemotes ¶
func (ExternalGit) PullBranch ¶
func (eg ExternalGit) PullBranch(repo git.Repo, branch git.BranchName, rebase bool) error
func (ExternalGit) Switch ¶
func (eg ExternalGit) Switch(repo git.Repo, br git.BranchName, force bool) error
Click to show internal directories.
Click to hide internal directories.