function chown Usage in Denoimport { chown } from "node:fs/promises"; chown(path: PathLike,uid: number,gid: number,): Promise<void> Changes the ownership of a file. Parameters path: PathLike uid: number gid: number Return Type Promise<void> Fulfills with undefined upon success.