pub fn hash_file(algo: HashAlgorithm, path: &Path) -> Result<String>Expand description
Hash a file by path using mmap for regular files. Returns the hex digest.
pub fn hash_file(algo: HashAlgorithm, path: &Path) -> Result<String>Hash a file by path using mmap for regular files. Returns the hex digest.