aboutsummaryrefslogtreecommitdiff
path: root/reachability/reachability.go
diff options
context:
space:
mode:
authorGravatar Runxi Yu2026-03-30 12:24:49 +0000
committerGravatar Runxi Yu2026-03-30 12:24:49 +0000
commit30bc08762a5aa33b9f47af304d51ef3878752b2f (patch)
tree911aeade437eaf89d0c8a35d262bc69e7c560a69 /reachability/reachability.go
parentobject/tree: Regular files and types (diff)
signatureNo signature
object/store: ReadingStore -> Reader
Diffstat (limited to 'reachability/reachability.go')
-rw-r--r--reachability/reachability.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/reachability/reachability.go b/reachability/reachability.go
index 1f12a698..6a0f2583 100644
--- a/reachability/reachability.go
+++ b/reachability/reachability.go
@@ -9,7 +9,7 @@ import (
//
// Labels: MT-Safe.
type Reachability struct {
- store objectstore.ReadingStore
+ store objectstore.Reader
graph *commitgraphread.Reader
}
@@ -17,6 +17,6 @@ type Reachability struct {
// commit-graph reader for faster commit-domain traversal.
//
// Labels: Deps-Borrowed, Life-Parent.
-func New(store objectstore.ReadingStore, graph *commitgraphread.Reader) *Reachability {
+func New(store objectstore.Reader, graph *commitgraphread.Reader) *Reachability {
return &Reachability{store: store, graph: graph}
}