diff options
Diffstat (limited to 'network/receivepack/service/options.go')
| -rw-r--r-- | network/receivepack/service/options.go | 8 |
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 |
