Versions in this module Expand all Collapse all v0 v0.1.0 May 3, 2023 Changes in this version + func DefaultBranch(dir string) string + type Clients func() (*LocalGit, v2.ClientFactory, error) + type LocalGit struct + Dir string + Git string + InitialBranch string + func New() (*LocalGit, v2.ClientFactory, error) + func NewV2() (*LocalGit, v2.ClientFactory, error) + func (lg *LocalGit) AddCommit(org, repo string, files map[string][]byte) error + func (lg *LocalGit) Checkout(org, repo, commitlike string) error + func (lg *LocalGit) CheckoutNewBranch(org, repo, branch string) error + func (lg *LocalGit) Clean() error + func (lg *LocalGit) MakeFakeRepo(org, repo string) error + func (lg *LocalGit) Merge(org, repo, commitlike string) (string, error) + func (lg *LocalGit) Rebase(org, repo, commitlike string) (string, error) + func (lg *LocalGit) RevParse(org, repo, commitlike string) (string, error) + func (lg *LocalGit) RmCommit(org, repo string, files []string) error