Skip to main content

Module quarantine

Module quarantine 

Source
Expand description

Persistent safety holds for artifacts that should remain restorable before deletion.

Structs§

PurgeReport
Outcome of purging expired or explicitly selected safety holds.
QuarantineEntry
One restorable artifact held beside its original location.

Functions§

default_registry_path
Returns the platform-local registry used to track safety holds.
hold
Moves a validated artifact into a hidden adjacent safety hold and records it.
list
Lists all recorded safety holds after pruning registry entries whose paths disappeared.
purge_expired
Purges holds whose expiration time is at or before now_unix.
purge_selected
Permanently deletes one explicitly selected safety hold before or after expiry.
restore
Restores one safety hold to its original location.