(path, options)
| 418 | // == readDirectory |
| 419 | |
| 420 | const readDirectory: FileSystem.FileSystem["readDirectory"] = (path, options) => |
| 421 | Effect.tryPromise({ |
| 422 | try: () => NFS.promises.readdir(path, options), |
| 423 | catch: (err) => handleErrnoException("FileSystem", "readDirectory")(err as any, [path]) |
| 424 | }) |
| 425 | |
| 426 | // == readFile |
| 427 |
nothing calls this directly
no test coverage detected