iroh_blobs::store

Function export_collection

Source
pub async fn export_collection<D: BaoStore>(
    db: &D,
    hash: Hash,
    outpath: PathBuf,
    mode: ExportMode,
    progress: impl ProgressSender<Msg = ExportProgress> + IdGenerator,
) -> Result<()>
Available on crate feature formats-collection only.
Expand description

Export all entries of a collection, recursively, to files on the local filesystem.