shithub: furgit

ref: 1fdcdc4d8a160f4b2b48be10f6eef2235b99f8f6
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
}