(bytes: number)
| 11 | } |
| 12 | |
| 13 | export function formatBytes(bytes: number): string { |
| 14 | return `${(bytes / 1024 / 1024).toFixed(2)} MiB`; |
| 15 | } |
| 16 | |
| 17 | export function parseNonNegativeInteger( |
| 18 | value: string | undefined, |
no outgoing calls
no test coverage detected