store_parse_path

Function store_parse_path 

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

@brief Parse a Nix store path that includes the store dir into a StorePath

@note Don’t forget to free this path using nix_store_path_free()! @param[out] context Optional, stores error information @param[in] store nix store reference @param[in] path Path string to parse, copied @return owned store path, NULL on error