Skip to main content

verify

Function verify 

Source
pub fn verify(path: &Path, expected_hex: &str) -> Result<()>
Expand description

Verifies that the file at path matches the expected_hex SHA256 hash.

ยงErrors

  • Computing the hash fails.
  • The computed hash does not match.