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

Function stat

packages/platform/deno/src/DenoFileSystem.ts:433–437  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

431 )
432
433const stat: FileSystem.FileSystem["stat"] = (path) =>
434 Effect.map(
435 tryPromise("stat", path, () => Deno.stat(path)),
436 makeFileInfo
437 )
438
439const symlink: FileSystem.FileSystem["symlink"] = (target, path) =>
440 tryPromise("symlink", target, () => Deno.symlink(target, path))

Callers 2

watchNativeFunction · 0.70
watchFunction · 0.70

Calls 3

tryPromiseFunction · 0.70
mapMethod · 0.45
statMethod · 0.45

Tested by

no test coverage detected