store_query_path_from_hash_part

Function store_query_path_from_hash_part 

Source
pub unsafe extern "C" fn store_query_path_from_hash_part(
    context: *mut c_context,
    store: *mut Store,
    hash: *const c_char,
) -> *mut StorePath
Expand description

@brief Query the full store path given the hash part of a valid store path, or empty if no matching path is found.

@param[out] context Optional, stores error information @param[in] store nix store reference @param[in] hash Hash part of path as a string @return Store path reference, NULL if no matching path is found.