blob: f771749001217e254e3766ad5fd4285dd2c4d055 (
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, does not need closing, and must not be used after Close.
func (repo *Repository) Fetcher() *fetch.Fetcher {
return fetch.New(repo.objects)
}
|