pub fn purge_expired(
now_unix: u64,
registry_path: Option<&Path>,
) -> Result<PurgeReport>Expand description
Purges holds whose expiration time is at or before now_unix.
ยงErrors
Returns an error when the registry cannot be loaded or saved. Individual deletion failures
are returned in PurgeReport::failures.