mirror of
https://github.com/nodejs/node.git
synced 2026-11-27 17:52:27 -05:00
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: https://github.com/nodejs/node/pull/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>
This commit is contained in:
1 parent
68557889d3
commit
53c6a1ee34
1 file changed
+2
-2
+2
-2
@@ -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`.
|
||||
|
||||
|
||||
Reference in new issue
Block a user