pub unsafe extern "C" fn nix_store_get_storedir(
context: *mut nix_c_context,
store: *mut Store,
callback: nix_get_string_callback,
user_data: *mut c_void,
) -> nix_err
Expand description
get the storeDir of a Nix store, typically "/nix/store"
§Arguments
context
[out] - Optional, stores error informationstore
[in] - nix store referencecallback
[in] - Called with the URI.user_data
[in] - optional, arbitrary data, passed to the callback when it’s called.
§See also
§Returns
error code, NIX_OK on success.