Skip to main content

apply_identity_map

Function apply_identity_map 

Source
pub fn apply_identity_map(run: &mut AnalysisRun, map: &IdentityMap)
Expand description

Fold a run’s authors according to map, in place: contributors whose email belongs to the same merge group are combined (counts summed, aliases merged, per-file ownership remapped and re-aggregated). Authors are re-sorted by code lines owned and re-indexed. A no-op when the map is empty or the run has no authors.