mirror of
https://github.com/nodejs/node.git
synced 2026-11-27 17:52:27 -05:00
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:
1 parent
eea7e3b0d0
commit
85cf30541d
1 file changed
+4
@@ -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
|
||||
|
||||
Reference in new issue
Block a user