iroh_blobs::export

Function export_blob

Source
pub async fn export_blob<D: BaoStore>(
    db: &D,
    hash: Hash,
    outpath: PathBuf,
    mode: ExportMode,
    progress: impl ProgressSender<Msg = ExportProgress> + IdGenerator,
) -> Result<()>
Expand description

Export a single blob to a file on the local filesystem.