From d298ab6caba5f1e70c58155f4efa33ef2d16a1c2 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Mon, 30 Mar 2026 17:48:08 +0000 Subject: ref/store: Remove ReadWriteStore --- network/receivepack/service/options.go | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'network/receivepack/service') 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 -- cgit v1.3.1-10-gc9f91