Skip to main content

cursor_tally

Function cursor_tally 

Source
pub fn cursor_tally(shown: usize, next: Option<&str>, ctx: &Context) -> String
Expand description

The tally for a listing that pages by cursor and never reports a total — every Wiki listing (docs/adr/0007-yandex-wiki.md).

“Of more than N” while a next page exists: the count cannot be printed honestly, but the rule the tally serves — never pass one page off as all of them — still can be kept.