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 the bootable EROFS image reference (idempotent).

The EROFS image itself is garbage-collected on the next repo.gc().