Skip to main content

decide_release

Function decide_release 

Source
pub fn decide_release(
    verified: &VerifiedManifest,
    context: &ReleaseContext<'_>,
) -> Result<ReleaseDecision, ReleaseError>
Expand description

Judges a verified manifest: checks the schema, channel, validity window, lifetime, rollback floor, and this platform’s artifact, then compares versions.

Only an exact version match admits the app. An older manifest is a rollback error.