verify_sha256

Function verify_sha256 

Source
fn verify_sha256(
    webc: &Path,
    actual: &WebcHash,
    expected: &str,
) -> Result<(), Error>
Expand description

Error if actual doesn’t match expected (hex, an optional sha256: prefix allowed).