ref: aa048b1320e5ae4a72a1927476460955a8727c52
dir: /internal/testgit/repo_properties.go/
package testgit
import "codeberg.org/lindenii/furgit/objectid"
// Algorithm returns the object ID algorithm configured for this repository.
func (testRepo *TestRepo) Algorithm() objectid.Algorithm {
return testRepo.algo
}
// Env returns a copy of the environment used for git subprocesses.
func (testRepo *TestRepo) Env() []string {
return append([]string(nil), testRepo.env...)
}