diff options
Diffstat (limited to 'commitquery/context.go')
| -rw-r--r-- | commitquery/context.go | 4 |
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, |
