shithub: furgit

ref: c67ae1bdeeac3752c2df1fa47a013353b3b508bd
dir: /internal/testgit/repo.go/

View raw version
// Package testgit provides helpers for integration tests with upstream git(1).
package testgit

import "codeberg.org/lindenii/furgit/objectid"

// TestRepo is a temporary git repository harness for integration tests.
type TestRepo struct {
	dir  string
	algo objectid.Algorithm
	env  []string
}