blob: 9cb0133c228b3c5296f24cc6bdd4c62b98a2e280 (
about) (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
package repository
import "codeberg.org/lindenii/furgit/object/fetch"
// Fetcher returns an object fetcher backed by the repository's object store.
//
// Use Fetcher when you want typed commits, trees, blobs, or tags, when you
// need to peel through annotated tags, or when you want path-based access
// within trees.
//
// Labels: Life-Parent.
func (repo *Repository) Fetcher() *fetch.Fetcher {
return repo.fetcher
}
|