Function hash_file

Source
pub fn hash_file(
    path: &Path,
    file_hashes: &mut MutexGuard<'_, HashMap<String, FileMetadata>>,
    hash_type: HashType,
    verbose: bool,
) -> Result<(), Error>