shithub: furgit

ref: 36ca8828cb5fb76a2a9b6c821f7d7ca18e9e83bc
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
}