pub async fn try_infused_nar_path<BE, DS>(
narinfo: &NarInfo<'_>,
blob_engine: BE,
directory_service: DS,
) -> Result<Option<Node>, Error>Expand description
Try to parse the NAR URL in the Narinfo as castore-infused, return the validated root_node if successful. If the URL is not castore-infused, returns Ok(Some). The passed BlobEngine and DirectoryService need to include the gRPC castore services, so substitution of new castore data is possible.