aboutsummaryrefslogtreecommitdiff
path: root/network/receivepack/service
diff options
context:
space:
mode:
authorGravatar Runxi Yu2026-03-30 12:24:49 +0000
committerGravatar Runxi Yu2026-03-30 12:24:49 +0000
commit30bc08762a5aa33b9f47af304d51ef3878752b2f (patch)
tree911aeade437eaf89d0c8a35d262bc69e7c560a69 /network/receivepack/service
parentobject/tree: Regular files and types (diff)
signatureNo signature
object/store: ReadingStore -> Reader
Diffstat (limited to 'network/receivepack/service')
-rw-r--r--network/receivepack/service/hook.go4
-rw-r--r--network/receivepack/service/options.go2
-rw-r--r--network/receivepack/service/run_hook.go2
3 files changed, 4 insertions, 4 deletions
diff --git a/network/receivepack/service/hook.go b/network/receivepack/service/hook.go
index 1a116b62..6f472661 100644
--- a/network/receivepack/service/hook.go
+++ b/network/receivepack/service/hook.go
@@ -31,8 +31,8 @@ type UpdateDecision struct {
// Labels: Life-Call.
type HookRequest struct {
Refs refstore.ReadingStore
- ExistingObjects objectstore.ReadingStore
- QuarantinedObjects objectstore.ReadingStore
+ ExistingObjects objectstore.Reader
+ QuarantinedObjects objectstore.Reader
CommitGraph *commitgraphread.Reader
Updates []RefUpdate
PushOptions []string
diff --git a/network/receivepack/service/options.go b/network/receivepack/service/options.go
index 82c496c3..05d32c6f 100644
--- a/network/receivepack/service/options.go
+++ b/network/receivepack/service/options.go
@@ -27,7 +27,7 @@ type PromotedObjectPermissions struct {
type Options struct {
Algorithm objectid.Algorithm
Refs refstore.ReadWriteStore
- ExistingObjects objectstore.ReadingStore
+ ExistingObjects objectstore.Reader
CommitGraph *commitgraphread.Reader
ObjectsRoot *os.Root
Progress iowrap.WriteFlusher
diff --git a/network/receivepack/service/run_hook.go b/network/receivepack/service/run_hook.go
index a72bc6eb..c3b1a8c7 100644
--- a/network/receivepack/service/run_hook.go
+++ b/network/receivepack/service/run_hook.go
@@ -40,7 +40,7 @@ func (service *Service) runHook(
quarantinedObjects := service.opts.ExistingObjects
var (
- quarantineObjectsStore objectstore.ReadingStore
+ quarantineObjectsStore objectstore.Reader
quarantineLooseStore *loose.Store
quarantinePackedStore *packed.Store
quarantineLooseRoot *os.Root