function promises.chown Usage in Denoimport { promises } from "node:fs"; const { chown } = 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.