We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0c5f253 commit 511d40cCopy full SHA for 511d40c
doc/api/fs.md
@@ -4126,6 +4126,9 @@ Asynchronous stat(2). The callback gets two arguments `(err, stats)` where
4126
4127
In case of an error, the `err.code` will be one of [Common System Errors][].
4128
4129
+[`fs.stat()`][] follows symbolic links. Use [`fs.lstat()`][] to look at the
4130
+links themselves.
4131
+
4132
Using `fs.stat()` to check for the existence of a file before calling
4133
`fs.open()`, `fs.readFile()`, or `fs.writeFile()` is not recommended.
4134
Instead, user code should open/read/write the file directly and handle the
0 commit comments