aboutsummaryrefslogtreecommitdiff
path: root/commitquery/context.go
diff options
context:
space:
mode:
authorGravatar Runxi Yu2026-03-28 04:19:44 +0000
committerGravatar Runxi Yu2026-03-28 04:20:29 +0000
commit402ef2733813d128631ca4aea18c2908c74340d5 (patch)
treee03a90b6f41411bd62e7339390802c5c50082850 /commitquery/context.go
parentobject/store: Rename from object/storer (diff)
signatureNo signature
object/store: Rename back from storer; rename Store to ReadingStore v0.1.118
Diffstat (limited to 'commitquery/context.go')
-rw-r--r--commitquery/context.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/commitquery/context.go b/commitquery/context.go
index 35fc47cf..3e9ceee8 100644
--- a/commitquery/context.go
+++ b/commitquery/context.go
@@ -10,7 +10,7 @@ import (
// Query owns the mutable node arena for commit-domain queries over one object
// store.
type Query struct {
- store objectstore.Store
+ store objectstore.ReadingStore
graph *commitgraphread.Reader
nodes []node
@@ -24,7 +24,7 @@ type Query struct {
// New builds one reusable commit query arena over one object store and optional
// commit-graph reader.
-func New(store objectstore.Store, graph *commitgraphread.Reader) *Query {
+func New(store objectstore.ReadingStore, graph *commitgraphread.Reader) *Query {
return &Query{
store: store,
graph: graph,