MCPcopy Create free account
hub / github.com/bootc-dev/bootc / is_empty

Method is_empty

crates/ostree-ext/src/container/deploy.rs:237–239  ·  view source on GitHub ↗

Whether this prune was a no-op (i.e. no images, layers or objects were pruned).

(&self)

Source from the content-addressed store, hash-verified

235impl Pruned {
236 /// Whether this prune was a no-op (i.e. no images, layers or objects were pruned).
237 pub fn is_empty(&self) -> bool {
238 self.n_images == 0 && self.n_layers == 0 && self.n_objects_pruned == 0
239 }
240}
241
242/// This combines the functionality of [`remove_undeployed_images()`] with [`super::store::gc_image_layers()`].

Callers 15

escape_for_refFunction · 0.45
move_pathMethod · 0.45
process_mappingMethod · 0.45
printMethod · 0.45
basic_packingFunction · 0.45
meanFunction · 0.45
iter_fromMethod · 0.45
write_filedefMethod · 0.45
running_in_systemdFunction · 0.45

Calls

no outgoing calls

Tested by 2

validate_tar_expectedFunction · 0.36
mkparentsFunction · 0.36