Skip to main content

hash_file

Function hash_file 

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

blake3 hex digest of the file at path, streamed so memory stays bounded regardless of file size. Always content-hashes; callers that must not cache oversized files use hash_file_with_limit instead.