Versions in this module Expand all Collapse all v1 v1.5.0 Nov 16, 2021 Changes in this version + func AddAuthorInfo(cmd *exec.Cmd, timestamp *time.Time) + func CleanGitEnv() []string + type TestRepo struct + Path string + func NewTestRepo(t *testing.T, bare bool, pattern string) *TestRepo + func (repo *TestRepo) AddFile(t *testing.T, relativePath, contents string) + func (repo *TestRepo) Clone(t *testing.T, pattern string) *TestRepo + func (repo *TestRepo) ConfigAdd(t *testing.T, key, value string) + func (repo *TestRepo) CreateObject(t *testing.T, otype git.ObjectType, writer func(io.Writer) error) git.OID + func (repo *TestRepo) CreateReferencedOrphan(t *testing.T, refname string) + func (repo *TestRepo) GitCommand(t *testing.T, args ...string) *exec.Cmd + func (repo *TestRepo) Init(t *testing.T, bare bool) + func (repo *TestRepo) Remove(t *testing.T) + func (repo *TestRepo) Repository(t *testing.T) *git.Repository + func (repo *TestRepo) UpdateRef(t *testing.T, refname string, oid git.OID)