Function nix_compat::store_path::utils::build_nar_based_store_path
source ยท pub fn build_nar_based_store_path<'a>(
nar_sha256_digest: &[u8; 32],
name: &'a str,
) -> Result<StorePathRef<'a>, BuildStorePathError>
Expand description
For given NAR sha256 digest and name, return the new StorePathRef this would have, or an error, in case the name is invalid.