mirror of
https://github.com/nodejs/node.git
synced 2026-11-09 15:11:11 -05:00
doc: qualify directory read ordering for native fs
Clarify that the documented operating system directory ordering applies to reads handled by the native file system. Signed-off-by: Kamat, Trivikram <16024985+trivikr@users.noreply.github.com> PR-URL: https://github.com/nodejs/node/pull/65868 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
1 parent
f9072f37ed
commit
36f16e7eba
1 file changed
+3
-2
+3
-2
@@ -7358,8 +7358,9 @@ Asynchronously read the next directory entry via readdir(3) as an
|
||||
A promise is returned that will be fulfilled with an {fs.Dirent}, or `null`
|
||||
if there are no more directory entries to read.
|
||||
|
||||
Directory entries returned by this function are in no particular order as
|
||||
provided by the operating system's underlying directory mechanisms.
|
||||
For directory reads handled by the native file system, directory entries
|
||||
returned by this function are in no particular order as provided by the
|
||||
operating system's underlying directory mechanisms.
|
||||
Entries added or removed while iterating over the directory might not be
|
||||
included in the iteration results.
|
||||
|
||||
|
||||
Reference in new issue
Block a user