Skip to main content

Module aggregate

Module aggregate 

Source

Structs§

CommitStat
One commit’s contribution to the aggregate: its grouping key and numstat.

Functions§

aggregate
Aggregate per-commit stats into per-author totals, returned in first-seen order (callers sort afterwards). Sums saturate rather than overflow.
aggregate_reviews
Count, per reviewer, the commits they signed off on via Acked-by / Tested-by / Reviewed-by trailers. A reviewer is credited at most once per commit even if they appear in several of those trailers. Returned in descending commit count, ties broken by first-seen order.
author_key
The author display and grouping key: Name <email> when email, else Name.
compute_totals
Sum per-author rows into a single “Total” row.