Skip to main content

Module rule_trace_aggregates

Module rule_trace_aggregates 

Source
Expand description

Writes the final in-memory rule counts to the CLI aggregate trace file.

Re-exportsยง

use std::collections::BTreeMap; ๐Ÿ”’
use std::fmt::Write as _; ๐Ÿ”’
use std::fs; ๐Ÿ”’
use std::path::Path; ๐Ÿ”’
use anyhow::Context as _; ๐Ÿ”’

Functionsยง

write_rule_trace_aggregates
Write a snapshot of the counts, ordered by descending count and then rule name.