Skip to main content

file_digest

Function file_digest 

Source
pub fn file_digest(path: &Path) -> Result<String, ParseBenchesError>
Expand description

The SHA-256 of the file at path, in lowercase hex.

ยงErrors

Returns ParseBenchesError::Io when the file cannot be read.