Skip to main content

render_stats

Function render_stats 

Source
pub fn render_stats(rows: &[Stat]) -> String
Expand description

Render the per-author stats table. The last row is expected to be the “Total” row (shown bold); the header row is bold and underlined. Styling is gated by yansi’s global condition, so it is plain text when color is disabled.