shithub: furgit

ref: ab7501be34032fb9e5c48726a68ae90a917af9eb
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
}