Module

std/node/fs.ts>chownSync

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

Synchronously changes the owner and group of a file.

Parameters

path: string | Buffer | URL
uid: number
gid: number
import chownSync
import { chownSync } from "https://dotland.deno.dev/std@0.145.0/node/fs.ts";