(method: string)
| 297 | |
| 298 | const makeFile = (() => { |
| 299 | const nodeReadFactory = (method: string) => |
| 300 | effectify( |
| 301 | NFS.read, |
| 302 | handleErrnoException("FileSystem", method), |
| 303 | handleBadArgument(method) |
| 304 | ) |
| 305 | const nodeRead = nodeReadFactory("read") |
| 306 | const nodeReadAlloc = nodeReadFactory("readAlloc") |
| 307 | const nodeStat = effectify( |
no test coverage detected