mirror of
https://github.com/nodejs/node.git
synced 2026-11-25 23:01:06 -05:00
doc: updated directory entry information
Fixes: https://github.com/nodejs/node/issues/25595 subdirectory updated def PR-URL: https://github.com/nodejs/node/pull/32791 Reviewed-By: Anna Henningsen <anna@addaleax.net>
This commit is contained in:
1 parent
45e188b2e3
commit
7e9f88e005
1 file changed
+3
-2
+3
-2
@@ -430,8 +430,9 @@ included in the iteration results.
|
||||
added: v10.10.0
|
||||
-->
|
||||
|
||||
A representation of a directory entry, as returned by reading from an
|
||||
[`fs.Dir`][].
|
||||
A representation of a directory entry, which can be a file or a subdirectory
|
||||
within the directory, as returned by reading from an [`fs.Dir`][]. The
|
||||
directory entry is a combination of the file name and file type pairs.
|
||||
|
||||
Additionally, when [`fs.readdir()`][] or [`fs.readdirSync()`][] is called with
|
||||
the `withFileTypes` option set to `true`, the resulting array is filled with
|
||||
|
||||
Reference in new issue
Block a user