(n: number)
| 32 | } |
| 33 | |
| 34 | export function formatBytes(n: number): string { |
| 35 | return formatLargeNumber(n); |
| 36 | } |
| 37 | |
| 38 | export function formatPercentage(ratio: number, fractionDigits = 1): string { |
| 39 | return `${(ratio * 100).toFixed(fractionDigits)}%`; |
nothing calls this directly
no test coverage detected