diff options
| author | 2026-03-22 23:34:38 +0000 | |
|---|---|---|
| committer | 2026-03-22 23:34:38 +0000 | |
| commit | 5c4e61830242a3a25e332bf623adb2eb65037f2b (patch) | |
| tree | 2607e02fc552057e6d8406218a3102e08667fafb /receivepack/service/doc.go | |
| parent | refstore: Update invariants (diff) | |
| signature | No signature | |
receivepack/service: Clarify ownership and requirements
Diffstat (limited to 'receivepack/service/doc.go')
| -rw-r--r-- | receivepack/service/doc.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/receivepack/service/doc.go b/receivepack/service/doc.go index 2bb15a38..37be23f4 100644 --- a/receivepack/service/doc.go +++ b/receivepack/service/doc.go @@ -1,2 +1,6 @@ // Package service implements the protocol-independent receive-pack service. +// +// A Service borrows the stores, roots, hooks, and I/O endpoints supplied in +// Options. Callers retain ownership of those dependencies and must keep them +// valid for each Execute call that uses them. package service |
