Skip to main content

validate_snapshot_image

Function validate_snapshot_image 

Source
pub fn validate_snapshot_image(
    image: &SnapshotImageRef,
    prepared: &PreparedExactObject,
    plaintext_hash: ObjectHash,
    stored_hash: ObjectHash,
    stored_size: u64,
    expected_slot: String,
    label: &str,
) -> Result<(), DbError>