Skip to main content
Module

std/node/fs.ts>chown

Deno standard library
Go to Latest
function chown
Re-export
import { chown } from "https://deno.land/std@0.145.0/node/fs.ts";

Asynchronously changes the owner and group of a file.

Parameters

path: string | Buffer | URL
uid: number
gid: number
callback: CallbackWithError