aboutsummaryrefslogtreecommitdiff
path: root/network/receivepack/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/options.go
parentobject/store/loose: Fix hex shard, I was stupid (diff)
signatureNo signature
ref/store: Remove ReadWriteStore
Diffstat (limited to 'network/receivepack/options.go')
-rw-r--r--network/receivepack/options.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/network/receivepack/options.go b/network/receivepack/options.go
index 146d5837..18d0e9b0 100644
--- a/network/receivepack/options.go
+++ b/network/receivepack/options.go
@@ -23,7 +23,11 @@ type Options struct {
// Algorithm is the repository object ID algorithm used by the push session.
Algorithm objectid.Algorithm
// Refs is the reference store visible to the push.
- Refs refstore.ReadWriteStore
+ Refs interface {
+ refstore.ReadingStore
+ refstore.TransactionalStore
+ refstore.BatchStore
+ }
// ExistingObjects is the object store visible to the push before any newly
// uploaded quarantined objects are promoted.
ExistingObjects objectstore.Reader