aboutsummaryrefslogtreecommitdiff
path: root/network/receivepack/service/options.go
diff options
context:
space:
mode:
authorGravatar Runxi Yu2026-03-30 17:48:08 +0000
committerGravatar Runxi Yu2026-03-30 17:48:08 +0000
commitd298ab6caba5f1e70c58155f4efa33ef2d16a1c2 (patch)
tree37c3ba1a136a787b30fe4a90f30735b334792853 /network/receivepack/service/options.go
parentobject/store/loose: Fix hex shard, I was stupid (diff)
signatureNo signature
ref/store: Remove ReadWriteStore
Diffstat (limited to 'network/receivepack/service/options.go')
-rw-r--r--network/receivepack/service/options.go8
1 files changed, 6 insertions, 2 deletions
diff --git a/network/receivepack/service/options.go b/network/receivepack/service/options.go
index 05d32c6f..4d7b48c8 100644
--- a/network/receivepack/service/options.go
+++ b/network/receivepack/service/options.go
@@ -25,8 +25,12 @@ type PromotedObjectPermissions struct {
// Progress, Hook, and HookIO are optional; when provided they are also
// borrowed for the duration of Execute.
type Options struct {
- Algorithm objectid.Algorithm
- Refs refstore.ReadWriteStore
+ Algorithm objectid.Algorithm
+ Refs interface {
+ refstore.ReadingStore
+ refstore.TransactionalStore
+ refstore.BatchStore
+ }
ExistingObjects objectstore.Reader
CommitGraph *commitgraphread.Reader
ObjectsRoot *os.Root