• Changes the permissions of a directory or file.

    Parameters

    • path: string

      Path to the file or directory whose permissions will be modified.

    • mode: string | number

      Permissions to set to the file or directory.

    Returns Promise<void>