diff options
| author | 2026-03-30 15:48:35 +0000 | |
|---|---|---|
| committer | 2026-03-30 15:48:35 +0000 | |
| commit | f0df94f08549b5de5cb9311e1041473904b54661 (patch) | |
| tree | 2b0694c7b3b05a0b439a0422be78e5a5b3f08d3a /object | |
| parent | object/store: Quarantine should just embed Reader (diff) | |
| signature | No signature | |
object/store: Clarify quarantine docs
Diffstat (limited to 'object')
| -rw-r--r-- | object/store/quarantine.go | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/object/store/quarantine.go b/object/store/quarantine.go index 7f538f43..a9ba4f55 100644 --- a/object/store/quarantine.go +++ b/object/store/quarantine.go @@ -2,12 +2,16 @@ package objectstore // Quarantine is one quarantined write. It is intended to be embedded. type Quarantine interface { - // Reader returns the objects written into this quarantine. + // Reader exposes the objects written into this quarantine. Reader // Promote publishes quarantined writes into their final destination. + // + // Promote invalidates the receiver. Promote() error // Discard abandons quarantined writes. + // + // Discard invalidates the receiver. Discard() error } |
