Function tvix_store::nar::ingest_nar

source ยท
pub async fn ingest_nar<R, BS, DS>(
    blob_service: BS,
    directory_service: DS,
    r: &mut R,
) -> Result<Node, IngestionError<Error>>
where R: AsyncBufRead + Unpin + Send, BS: BlobService + Clone + 'static, DS: DirectoryService,
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.