Function tvix_castore::import::fs::upload_blob

source ยท
async fn upload_blob<BS, P>(
    blob_service: BS,
    path: impl AsRef<Path>,
    reference_scanner: Option<&ReferenceScanner<P>>,
) -> Result<B3Digest, Error>
where BS: BlobService, P: AsRef<[u8]>,
Expand description

Uploads the file at the provided [Path] the the BlobService.