pub fn markdown(
pairs: &[Pair],
unpaired: &Unpaired,
top: usize,
recorded: &dyn Fn(&Origin) -> Option<u64>,
) -> StringExpand description
Render the attribution as markdown, for a pull request comment or a step
summary beneath tak compare’s table.
The rows shown and a final row for the rest add up to the total change, so a reader can see how much of it the table accounts for.
recorded looks up the instruction count git notes hold for a profile’s
series, so a profile replaced since that count was recorded is called out.
It is a parameter so this stays free of git.