gc_image_layers

Function gc_image_layers 

Source
pub fn gc_image_layers(repo: &Repo) -> Result<u32>
Expand description

Garbage collect unused image layer references.

This function assumes no transaction is active on the repository. The underlying objects are not pruned; that requires a separate invocation of [ostree::Repo::prune].