Documentation
¶
Overview ¶
Package persist is INTERNAL-ONLY — corrupt-file quarantine and warning recovery. Pure infrastructure with no operator-facing contract.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func QuarantineCorruptFile ¶
QuarantineCorruptFile renames a corrupt file aside so the caller can recover with a clean in-memory value. Rename failures are returned as hard errors.
Types ¶
type RecoveryWarning ¶
RecoveryWarning reports that a corrupt local persistence file was quarantined and the caller can continue with an empty in-memory store.
func (*RecoveryWarning) Error ¶
func (w *RecoveryWarning) Error() string
Click to show internal directories.
Click to hide internal directories.