aboutsummaryrefslogtreecommitdiff
path: root/reachability/reachability.go
diff options
context:
space:
mode:
authorGravatar Runxi Yu2026-03-25 14:34:50 +0000
committerGravatar Runxi Yu2026-03-25 14:34:50 +0000
commite4a7aa0742f5070299d37e8421c99d67f0af3f90 (patch)
tree36d89781476a92e61280c5ff232a2773e4092c0e /reachability/reachability.go
parent*: delta -> packfile/delta (diff)
signatureNo signature
*: object/store -> object/storer v0.1.107
Diffstat (limited to 'reachability/reachability.go')
-rw-r--r--reachability/reachability.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/reachability/reachability.go b/reachability/reachability.go
index 127da2f4..54fc6e44 100644
--- a/reachability/reachability.go
+++ b/reachability/reachability.go
@@ -3,24 +3,24 @@ package reachability
import (
commitgraphread "codeberg.org/lindenii/furgit/commitgraph/read"
- "codeberg.org/lindenii/furgit/object/store"
+ "codeberg.org/lindenii/furgit/object/storer"
)
// Reachability provides graph traversal over objects in one object store.
//
// It is not safe for concurrent use.
type Reachability struct {
- store objectstore.Store
+ store objectstorer.Store
graph *commitgraphread.Reader
}
// New builds a Reachability over one object store.
-func New(store objectstore.Store) *Reachability {
+func New(store objectstorer.Store) *Reachability {
return &Reachability{store: store}
}
// NewWithCommitGraph builds a Reachability over one object store with an
// optional commit-graph reader for faster commit-domain traversal.
-func NewWithCommitGraph(store objectstore.Store, graph *commitgraphread.Reader) *Reachability {
+func NewWithCommitGraph(store objectstorer.Store, graph *commitgraphread.Reader) *Reachability {
return &Reachability{store: store, graph: graph}
}