remove_images

Function remove_images 

Source
pub fn remove_images<'a>(
    repo: &Repo,
    imgs: impl IntoIterator<Item = &'a ImageReference>,
) -> Result<()>
Expand description

Remove the specified image references. If an image is not found, further images will be removed, but an error will be returned.

This function assumes no transaction is active on the repository. The underlying layers are not pruned; that requires a separate invocation of gc_image_layers.