import { Deno } from "https://deno.land/x/levo@v0.0.27/templates/new-project/lib/lib.deno_runtime.d.ts";
const { chown } = Deno;
Change owner of a regular file or directory. This functionality is not available on Windows.
await Deno.chown("myFile.txt", 1000, 1002);
Requires allow-write
permission.
Throws Error (not implemented) if executed on Windows
Parameters
path: string | URL
path to the file