pub fn verify_integrity(
path: &str,
data: &[u8],
expected_sha256: &str,
) -> Result<(), CheckpointerError>Expand description
Verify a loaded artifact against its expected SHA-256 digest.
§Errors
Returns CheckpointerError::IntegrityMismatch if the digest doesn’t match.