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

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

// 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() oid.Algorithm {
	return repo.algo
}