import { Deno } from "https://deno.land/x/adka@0.1.5/deno.d.ts";
const { chownSync } = Deno;
Synchronously change owner of a regular file or directory. This functionality is not available on Windows.
Deno.chownSync("myFile.txt", 1000, 1002);
Requires allow-write
permission.
Throws Error (not implemented) if executed on Windows
Parameters
path: string | URL
path to the file