Skip to main content

hash_file

Function hash_file 

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

Compute the blake3 hash of a file’s content.

§Errors

Returns an error if the file cannot be read.