aboutsummaryrefslogtreecommitdiff
path: root/internal/testgit/repo_properties.go
blob: 47123ee808bce5292c5c830797467898b954fb97 (about) (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
package testgit

import "codeberg.org/lindenii/furgit/objectid"

// Dir returns the repository directory path.
func (testRepo *TestRepo) Dir() string {
	return testRepo.dir
}

// Algorithm returns the object ID algorithm configured for this repository.
func (testRepo *TestRepo) Algorithm() objectid.Algorithm {
	return testRepo.algo
}