Skip to main content

remove_boot_image

Function remove_boot_image 

Source
pub fn remove_boot_image<ObjectID: FsVerityHashValue>(
    repo: &Arc<Repository<ObjectID>>,
    manifest_digest: &OciDigest,
) -> Result<()>
Expand description

Remove all bootable EROFS image references (idempotent), across every xattr filtering mode that has been cached for this manifest.

The EROFS images themselves are garbage-collected on the next repo.gc().