Skip to main content

prepare_external_blob

Function prepare_external_blob 

Source
pub async fn prepare_external_blob(
    path: &Path,
    progress: impl Fn(u64) + Send + Sync,
) -> Result<PreparedExternalBlob, DbError>
Expand description

Stream a user-owned file once and prepare its opaque content identity for registration. progress receives the cumulative bytes consumed after each read.