Function tvix_store::nar::import::ingest_nar
source ยท pub async fn ingest_nar<R, BS, DS>(
blob_service: BS,
directory_service: DS,
r: &mut R,
) -> Result<Node, IngestionError<Error>>
Expand description
Ingests the contents from a AsyncRead providing NAR into the tvix store, interacting with a BlobService and DirectoryService. It returns the castore root node or an error.