ref: f0df94f08549b5de5cb9311e1041473904b54661
parent: 4c2629a2601e432e4920034d5a9fd581d1e8014d
author: Runxi Yu <runxiyu@umich.edu>
date: Mon Mar 30 11:48:35 EDT 2026
object/store: Clarify quarantine docs
--- a/object/store/quarantine.go
+++ b/object/store/quarantine.go
@@ -2,12 +2,16 @@
// 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
}
--
⑨