diff options
| author | 2026-03-22 23:24:18 +0000 | |
|---|---|---|
| committer | 2026-03-22 23:24:18 +0000 | |
| commit | afd58b4e5882402d606728e4f2ee8e5cb2354939 (patch) | |
| tree | 3e0fd2e495ac10fa2c2cd1ccaf54574d95550798 /refstore/batch.go | |
| parent | refstore/files: UB on use after close (diff) | |
| signature | No signature | |
refstore: Update invariants v0.1.89
Diffstat (limited to 'refstore/batch.go')
| -rw-r--r-- | refstore/batch.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/refstore/batch.go b/refstore/batch.go index b170916b..01da6c90 100644 --- a/refstore/batch.go +++ b/refstore/batch.go @@ -6,6 +6,9 @@ import "codeberg.org/lindenii/furgit/objectid" // // Unlike Transaction, Batch may reject some queued operations while still // applying others successfully when Apply runs. +// +// A batch borrows its underlying store and is invalid after that store is +// closed. type Batch interface { // Create creates one detached reference, requiring that the logical // reference does not already exist. |
