Fast implementation of Git in pure Go codeberg.org/lindenii/furgit
git go
6
fork

Configure Feed

Select the types of activity you want to include in your feed.

object/store: Clarify quarantine docs

Runxi Yu f0df94f0 4c2629a2

+5 -1
+5 -1
object/store/quarantine.go
··· 2 2 3 3 // Quarantine is one quarantined write. It is intended to be embedded. 4 4 type Quarantine interface { 5 - // Reader returns the objects written into this quarantine. 5 + // Reader exposes the objects written into this quarantine. 6 6 Reader 7 7 8 8 // Promote publishes quarantined writes into their final destination. 9 + // 10 + // Promote invalidates the receiver. 9 11 Promote() error 10 12 11 13 // Discard abandons quarantined writes. 14 + // 15 + // Discard invalidates the receiver. 12 16 Discard() error 13 17 }