Function nix_store_path_name

Source
pub unsafe extern "C" fn nix_store_path_name(
    store_path: *const StorePath,
    callback: nix_get_string_callback,
    user_data: *mut c_void,
)
Expand description

Get the path name (e.g. “name” in /nix/store/…-name)

§Arguments

  • store_path [in] - the path to get the name from
  • callback [in] - called with the name
  • user_data [in] - arbitrary data, passed to the callback when it’s called.