blob: 703cef1c06aa2ca2c079c5c9a4036d4c66c503d7 (
about) (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
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...)
}
|