Function tvix_castore::import::archive::ingest_archive

source ·
pub async fn ingest_archive<BS, DS, R>(
    blob_service: BS,
    directory_service: DS,
    archive: Archive<R>
) -> Result<Node, IngestionError<Error>>
where BS: BlobService + Clone + 'static, DS: DirectoryService, R: AsyncRead + Unpin,
Expand description

Ingests elements from the given tar Archive into a the passed BlobService and DirectoryService.