pub fn hash_path(path: &Path, hash: &mut GeneralHash) -> Result<()>