diff options
| author | 2026-03-22 23:51:01 +0000 | |
|---|---|---|
| committer | 2026-03-22 23:51:01 +0000 | |
| commit | 13507b7704415332e2b00f5f4d291f3be8bd18fa (patch) | |
| tree | 5c193e1ce520044af0d7db44d4b8febdbcd03582 /receivepack/receivepack.go | |
| parent | objectstore/packed: Document refresh semantics (diff) | |
| signature | No signature | |
receivepack: Lifecycle/ownership docs v0.1.91
Diffstat (limited to 'receivepack/receivepack.go')
| -rw-r--r-- | receivepack/receivepack.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/receivepack/receivepack.go b/receivepack/receivepack.go index 8103ad1f..98bb3030 100644 --- a/receivepack/receivepack.go +++ b/receivepack/receivepack.go @@ -19,6 +19,9 @@ import ( // feels a bit ugly. // ReceivePack serves one receive-pack session over r/w. +// +// ReceivePack borrows r, w, and all dependencies reachable through opts for +// the duration of the call. It does not close any of them. func ReceivePack( ctx context.Context, w pktline.WriteFlusher, |
