Skip to main content

CleanupPredicate

Type Alias CleanupPredicate 

Source
pub type CleanupPredicate = Box<dyn Fn(&str, &BlobMeta) -> bool + Send + Sync>;
Expand description

Predicate for deciding which blobs to delete during cleanup.

Return true to delete the blob.

Aliased Typeยง

pub struct CleanupPredicate(/* private fields */);