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

Function chown

packages/platform/deno/src/DenoFileSystem.ts:77–78  ·  view source on GitHub ↗
(path, uid, gid)

Source from the content-addressed store, hash-verified

75const chmod: FileSystem.FileSystem["chmod"] = (path, mode) => tryPromise("chmod", path, () => Deno.chmod(path, mode))
76
77const chown: FileSystem.FileSystem["chown"] = (path, uid, gid) =>
78 tryPromise("chown", path, () => Deno.chown(path, uid, gid))
79
80const link: FileSystem.FileSystem["link"] = (existingPath, newPath) =>
81 tryPromise("link", existingPath, () => Deno.link(existingPath, newPath))

Callers

nothing calls this directly

Calls 1

tryPromiseFunction · 0.70

Tested by

no test coverage detected