diff --git a/doc/api/fs.md b/doc/api/fs.md index aa1a43f1ecc14c..3f19ccc3cd526b 100644 --- a/doc/api/fs.md +++ b/doc/api/fs.md @@ -1137,8 +1137,8 @@ changes: * `path` {string|Buffer|URL} * `mode` {integer} -Synchronously changes the permissions of a file. Returns `undefined`. -This is the synchronous version of [`fs.chmod()`][]. +For detailed information, see the documentation of the asynchronous version of +this API: [`fs.chmod()`][]. See also: chmod(2). @@ -1567,13 +1567,16 @@ changes: * `path` {string|Buffer|URL} * Returns: {boolean} -Synchronous version of [`fs.exists()`][]. Returns `true` if the path exists, `false` otherwise. +For detailed information, see the documentation of the asynchronous version of +this API: [`fs.exists()`][]. + `fs.exists()` is deprecated, but `fs.existsSync()` is not. The `callback` parameter to `fs.exists()` accepts parameters that are inconsistent with other Node.js callbacks. `fs.existsSync()` does not use a callback. + ## fs.fchmod(fd, mode, callback)