Skip to main content

resolve_verdict

Function resolve_verdict 

Source
pub fn resolve_verdict(
    policy: &VerdictPolicy,
    exit: Verdict,
    reported: Option<Reported>,
) -> (Verdict, VerdictSource, Option<String>)
Expand description

Resolves a stage’s verdict, source, and reason from the evidence selected by its policy. Reports are authoritative only for Reported; other policies ignore them.