pub unsafe extern "C" fn nix_store_path_hash(
context: *mut nix_c_context,
store_path: *const StorePath,
hash_part_out: *mut nix_store_path_hash_part,
) -> nix_errExpand description
Get the path hash (e.g. “
§Arguments
context[out] - Optional, stores error informationstore_path[in] - the path to get the hash fromhash_part_out[out] - the decoded hash as 20 raw bytes
§Returns
NIX_OK on success, error code on failure