(size: number)
| 37 | const PREFERRED_IO_BLOCK_SIZE = 4096; |
| 38 | |
| 39 | function blocksForSize(size: number): number { |
| 40 | return size <= 0 ? 0 : Math.ceil(size / STAT_BLOCK_SIZE); |
| 41 | } |
| 42 | |
| 43 | type StatusCallback = (errnoOrBytes: number) => void; |
| 44 | type ResultCallback<T> = (errno: number, result: T) => void; |
no outgoing calls
no test coverage detected