Skip to content
Permalink
Browse files

doc: update mode type for fchmod() functions

fs.fchmod() and fs.fchmodSync() both support strings as their
mode argument. This commit updates the documentation to
reflect this.

PR-URL: #31115
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: David Carlier <devnexen@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
  • Loading branch information
cjihrig authored and BridgeAR committed Dec 27, 2019
1 parent 6855788 commit 53c6a1ee34680790cccc2c0cf03e263e46b9dc7c
Showing with 2 additions and 2 deletions.
  1. +2 −2 doc/api/fs.md
@@ -1979,7 +1979,7 @@ changes:
-->

* `fd` {integer}
* `mode` {integer}
* `mode` {string|integer}
* `callback` {Function}
* `err` {Error}

@@ -1992,7 +1992,7 @@ added: v0.4.7
-->

* `fd` {integer}
* `mode` {integer}
* `mode` {string|integer}

Synchronous fchmod(2). Returns `undefined`.

0 comments on commit 53c6a1e

Please sign in to comment.
You can’t perform that action at this time.