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

Function chmod

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

Source from the content-addressed store, hash-verified

71 tryPromise("copyFile", fromPath, () => Deno.copyFile(fromPath, toPath))
72
73const chmod: FileSystem.FileSystem["chmod"] = (path, mode) => tryPromise("chmod", path, () => Deno.chmod(path, mode))
74
75const chown: FileSystem.FileSystem["chown"] = (path, uid, gid) =>
76 tryPromise("chown", path, () => Deno.chown(path, uid, gid))

Callers

nothing calls this directly

Calls 1

tryPromiseFunction · 0.70

Tested by

no test coverage detected