method FileHandle.chown
Jump to headingFileHandle.chown(uid: number,gid: number,): Promise<void>
Changes the ownership of the file. A wrapper for chown(2)
.
Parameters Jump to heading
Jump to headinguid: number
The file's new owner's user id.
Jump to headinggid: number
The file's new group's group id.
Return Type Jump to heading
Promise<void>
Fulfills with undefined
upon success.