Function nix_store_is_valid_path

Source
pub unsafe extern "C" fn nix_store_is_valid_path(
    context: *mut nix_c_context,
    store: *mut Store,
    path: *mut StorePath,
) -> bool
Expand description

Check if a StorePath is valid (i.e. that corresponding store object and its closure of references exists in the store)

§Arguments

  • context [out] - Optional, stores error information
  • store [in] - Nix Store reference
  • path [in] - Path to check

§Returns

true or false, error info in context