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

Function symlink

packages/platform/deno/src/DenoFileSystem.ts:384–385  ·  view source on GitHub ↗
(target, path)

Source from the content-addressed store, hash-verified

382 )
383
384const symlink: FileSystem.FileSystem["symlink"] = (target, path) =>
385 tryPromise("symlink", target, () => Deno.symlink(target, path))
386
387const truncate: FileSystem.FileSystem["truncate"] = (path, length) =>
388 tryPromise("truncate", path, () => Deno.truncate(path, length === undefined ? undefined : Number(length)))

Callers

nothing calls this directly

Calls 1

tryPromiseFunction · 0.70

Tested by

no test coverage detected