pub fn auto_normalize_paths(data: &mut CoverageData, source_root: Option<&Path>)Expand description
Automatically normalize paths in coverage data to be relative.
Strategy:
- If
source_rootis provided, strip it from all paths. - Otherwise, detect common absolute prefix and strip it.
- As fallback, try
git rev-parse --show-toplevel. - Normalize backslashes and strip leading
./.