doc,fs: document value of stats.isDirectory on symbolic links

PR-URL: https://github.com/nodejs/node/pull/27413
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
This commit is contained in:
coderaiser authored and Danielle Adams committed 2020-11-09 13:35:06 -05:00
1 parent eea7e3b0d0
commit 85cf30541d
1 file changed
+4
+4
View File
@@ -826,6 +826,10 @@ added: v0.1.10
Returns `true` if the `fs.Stats` object describes a file system directory.
If the `fs.Stats` object was obtained from [`fs.lstat()`][], this method will
always return `false`. This is because [`fs.lstat()`][] returns information
about a symbolic link itself and not the path it resolves to.
### `stats.isFIFO()`
<!-- YAML
added: v0.1.10