Module

std/node/fs.ts>chown

Deno standard library
Go to Latest
function chown
import { chown } from "https://dotland.deno.dev/std@0.116.0/node/fs.ts";

TODO: Also accept 'path' parameter as a Node polyfill Buffer type once these are implemented. See https://github.com/denoland/deno/issues/3403

Parameters

path: string | URL
uid: number
gid: number
callback: CallbackWithError
import chown
import { chown } from "https://dotland.deno.dev/std@0.116.0/node/fs.ts";