Skip to main content

Module persistence

Module persistence 

Source
Expand description

Native immutable publication of admitted final acoustic bytes.

The caller must exclusively control a trusted storage root and its directory access. Redirect checks are not a sandbox against directory-replacement races. Publication is atomic and no-clobber, not an aggregate quota or authorization mechanism. File syncing does not establish directory-fsync crash durability.

Structs§

QacArtifact
QacPublishOptions

Enums§

QacPublicationAdmission
QacPublishError

Functions§

publish_qac
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.