diff options
| author | 2026-03-22 22:07:39 +0000 | |
|---|---|---|
| committer | 2026-03-22 22:07:39 +0000 | |
| commit | 7ddaf1eb2fde11a9e07df0215646c1dca08ccc50 (patch) | |
| tree | ec1096bd8229fa0a3c3272e2a52e60bff0d73797 /refstore/batch.go | |
| parent | objectstore/loose, receivepack/service, repository: Lint whitespace (diff) | |
| signature | No signature | |
refstore, repository: Ownership/lifetimes fix v0.1.87
Diffstat (limited to 'refstore/batch.go')
| -rw-r--r-- | refstore/batch.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/refstore/batch.go b/refstore/batch.go index 6352159c..b170916b 100644 --- a/refstore/batch.go +++ b/refstore/batch.go @@ -34,8 +34,12 @@ type Batch interface { // Apply validates and applies queued operations, returning one result per // queued operation in order. Fatal backend failures are returned separately. + // + // Apply is terminal. Further use of the batch is undefined behavior. Apply() ([]BatchResult, error) // Abort abandons the batch and releases any resources it holds. + // + // Abort is terminal. Further use of the batch is undefined behavior. Abort() error } |
