(prefix, width)
| 486 | |
| 487 | const memo = new SafeMap(); |
| 488 | function addTableLine(prefix, width) { |
| 489 | const key = `${prefix}-${width}`; |
| 490 | let value = memo.get(key); |
| 491 | if (value === undefined) { |
| 492 | value = `${prefix}${StringPrototypeRepeat('-', width)}\n`; |
| 493 | memo.set(key, value); |
| 494 | } |
| 495 | |
| 496 | return value; |
| 497 | } |
| 498 | |
| 499 | const kHorizontalEllipsis = '\u2026'; |
| 500 | function truncateStart(string, width) { |
no test coverage detected
searching dependent graphs…