Skip to main content

keep_newest

Function keep_newest 

Source
pub fn keep_newest(
    map: &mut HashMap<String, CapturedRustcInvocation>,
    inv: CapturedRustcInvocation,
)
Expand description

Pure helper for the load loop’s “keep most-recent per crate” decision. Pulled out so unit tests don’t have to write JSON to disk to exercise the merge.