Skip to main content

hash_file

Function hash_file 

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

Hash a file’s contents with BLAKE3, returning hex-encoded digest.

§Errors

Returns an error if the file can’t be read.