shithub: furgit

ref: 20a26c67f53252f643a9f20bac0fd73b3b8be863
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
}