iroh_blobs::get::db

Function blob_info

Source
pub async fn blob_info<D: BaoStore>(db: &D, hash: &Hash) -> Result<BlobInfo<D>>
Expand description

Get information about a blob in a store.

This will compute the valid ranges for partial blobs, so it is somewhat expensive for those.