pub async fn stage_plaintext(
database: &Database,
id: SnapshotId,
prefix: SnapshotObjectPrefix,
input: impl Read,
) -> Result<SnapshotStaging, DbError>Expand description
Stage a snapshot’s whole plaintext from input, one chunk at a time, as
sync stages an opened body (§16.2).