Function forest_filecoin::utils::db::car_util::load_car

source ยท
pub async fn load_car<R>(db: &impl Blockstore, reader: R) -> Result<CarHeader>
where R: AsyncBufRead + Unpin,
Expand description

Stream key-value pairs from a CAR archive into a block store. The block store is not restored to its original state in case of errors.