Function builder_cpp::hasher::get_hash

source ·
pub fn get_hash(
    path: &str,
    path_hash: &HashMap<String, String>
) -> Option<String>
Expand description

Returns the hash of a file if it exists in the path_hash. Otherwise returns None.

Arguments

  • path - The path of the file to get the hash of.
  • path_hash - The hashmap of paths and hashes.