aboutsummaryrefslogtreecommitdiff
path: root/internal/testgit/repo_properties.go
blob: a25c329c32a8b77dfaaa13c9013f8106421158f3 (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 (repo *TestRepo) Dir() string {
	return repo.dir
}

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