(count: number, detail?: string)
| 132 | * entry follows on the next line, so the count stays beside its own entry. |
| 133 | */ |
| 134 | export function repeatDetail(count: number, detail?: string): string { |
| 135 | const words = `${count} identical entries in this session; only the first is recorded in full`; |
| 136 | return detail ? capField(`${words}\n${detail}`) : words; |
| 137 | } |
| 138 | |
| 139 | /** The count of a repeat entry, undefined for an ordinary one. */ |
| 140 | export function repeatCount(detail: string | undefined): number | undefined { |
no test coverage detected