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

Function notFound

packages/effect/src/FileSystem.ts:666–673  ·  view source on GitHub ↗
(method: string, path: string)

Source from the content-addressed store, hash-verified

664 })
665
666const notFound = (method: string, path: string) =>
667 systemError({
668 module: "FileSystem",
669 method,
670 _tag: "NotFound",
671 description: "No such file or directory",
672 pathOrDescriptor: path
673 })
674
675/**
676 * Creates a stub `FileSystem` implementation for tests.

Callers 15

accessFunction · 0.70
chmodFunction · 0.70
chownFunction · 0.70
copyFunction · 0.70
copyFileFunction · 0.70
globFunction · 0.70
linkFunction · 0.70
lstatFunction · 0.70
openFunction · 0.70
readDirectoryFunction · 0.70
readDirectoryEntriesFunction · 0.70
readFileFunction · 0.70

Calls 1

systemErrorFunction · 0.90

Tested by

no test coverage detected