• Asynchronous chown(2) - Change ownership of a file.

    Parameters

    • path: PathLike

      A path to a file. If a URL is provided, it must use the file: protocol.

    • uid: number
    • gid: number

    Returns Promise<void>