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

Function notFound

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

Source from the content-addressed store, hash-verified

762 })
763
764const notFound = (method: string, path: string) =>
765 systemError({
766 module: "FileSystem",
767 method,
768 _tag: "NotFound",
769 description: "No such file or directory",
770 pathOrDescriptor: path
771 })
772
773/**
774 * 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
openFunction · 0.70
readDirectoryFunction · 0.70
readFileFunction · 0.70
readFileStringFunction · 0.70
readLinkFunction · 0.70

Calls 1

systemErrorFunction · 0.90

Tested by

no test coverage detected