(bytes: number)
| 195 | } |
| 196 | |
| 197 | function formatKB(bytes: number): string { |
| 198 | const kb = bytes / 1024; |
| 199 | return Number.isInteger(kb) ? String(kb) : kb.toFixed(1); |
| 200 | } |
| 201 | |
| 202 | function annotationFor(path: string): string { |
| 203 | return `<!-- From: ${path} -->\n`; |
no outgoing calls
no test coverage detected