Versions in this module Expand all Collapse all v0 v0.1.1 Jul 27, 2026 Changes in this version + type TestRepo struct + Dir string + func NewTestRepo(t *testing.T) *TestRepo + func (r *TestRepo) AssertDiffContains(revision, expected string) + func (r *TestRepo) AssertDiffEmpty(revision string) + func (r *TestRepo) AssertDiffNotContains(revision, unexpected string) + func (r *TestRepo) AssertFileContent(path, expected string) + func (r *TestRepo) Commit(message string) + func (r *TestRepo) GetChangeID(revision string) string + func (r *TestRepo) GetDiff(revision string) string + func (r *TestRepo) MustRun(args ...string) string + func (r *TestRepo) ReadFile(path string) string + func (r *TestRepo) Run(args ...string) (string, error) + func (r *TestRepo) WriteFile(path, content string)