Skip to main content

publish_qac

Function publish_qac 

Source
pub fn publish_qac(
    root: &Path,
    bytes: &[u8],
    options: QacPublishOptions,
) -> Result<QacArtifact, QacPublishError>
Expand description

Admit without transcoding, hash all final bytes, then sync and publish a same-directory temporary file without replacing an existing destination. Identical existing content is verified byte-for-byte and reused. No source is changed, and scratch is removed on errors/unwind. Current payload chunk digests are verified in addition to structural admission; semantics stay opaque.