pub fn build_delta_artifact(
export_input: &DeltaExport<'_>,
secret: &ArtifactSecret,
signer: &dyn Signer,
) -> Result<Vec<u8>, PeeringError>Expand description
Build a delta-scoped backup artifact: include exactly the sender’s assets whose content
address is in delta, then export through the ordinary backup path. Assets the receiver
already holds are never in delta, so they never enter the artifact — the “only missing
assets transfer” guarantee is structural, decided before a single byte is sealed.
The receiver’s scope is honoured: a receiver whose scope does not eagerly hold originals is
refused with PeeringError::OutOfScope rather than sent bytes it would not keep; it syncs
from the server, where its scope is served representation by representation.