blob: 2d400ef842f66798ae37c1b213095562e1c5f572 (
about) (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
package repository
import "lindenii.org/go/furgit/reachability"
// Reachability returns graph traversal helpers backed by the repository's
// object store and optional commit-graph.
//
// Use Reachability to walk reachable commits or objects and to perform
// connectivity checks.
//
// Labels: Life-Parent.
func (repo *Repository) Reachability() *reachability.Reachability {
return reachability.New(repo.fetcher, repo.commitGraph)
}
|