blob: b40b060f0a7626644e1ae2f4e978449248e52cbd (
about) (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
package repository
import "codeberg.org/lindenii/furgit/object/fetch"
// Fetcher returns an object fetcher backed by the repository's object store.
//
// The returned fetcher is ready for use, borrows the repository's object
// store, must not be closed directly, and must not be used after repository Close.
func (repo *Repository) Fetcher() *fetch.Fetcher {
return fetch.New(repo.objects)
}
|