MCPcopy Create free account
hub / github.com/Effect-TS/effect / readDirectory

Function readDirectory

packages/platform/node-shared/src/NodeFileSystem.ts:420–424  ·  view source on GitHub ↗
(path, options)

Source from the content-addressed store, hash-verified

418// == readDirectory
419
420const 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

Callers

nothing calls this directly

Calls 1

handleErrnoExceptionFunction · 0.90

Tested by

no test coverage detected