Skip to main content

events_with_changed_summary

Function events_with_changed_summary 

Source
pub fn events_with_changed_summary(
    events: Vec<PolicyEvent>,
    passes: u64,
    changed_paths: &[String],
) -> Vec<PolicyEvent>
Expand description

What: The settled pass’s events with the fix summary the corrections earned. Why: The summary appears only after some pass changed candidate bytes, naming each changed path once in byte order.

In TS you’d write (pseudocode):

withChangedFixSummary({ result: pass, trigger: 'pre-forward', passes, changedPaths });