Skip to main content

notes_from_events

Function notes_from_events 

Source
pub fn notes_from_events(events: &[Event]) -> Vec<LedgerNote>
Expand description

Extract scar notes from workspace-ledger note events. One event carrying multiple scar tags fans out to multiple LedgerNotes (a friction that also carries review counts as both — that’s their real classification, we don’t second-guess the writer).