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.