Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 6786730

Browse filesBrowse files
tiendqtargos
authored andcommitted
doc: add history for withFileTypes in fs.readdir[Sync]()
PR-URL: #22794 Fixes: #22777 Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
1 parent 0015430 commit 6786730
Copy full SHA for 6786730

File tree

Expand file treeCollapse file tree

1 file changed

+6
-0
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+6
-0
lines changed
Open diff view settings
Collapse file

‎doc/api/fs.md‎

Copy file name to clipboardExpand all lines: doc/api/fs.md
+6Lines changed: 6 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -2380,6 +2380,9 @@ a `Promise` for an `Object` with `bytesRead` and `buffer` properties.
23802380
<!-- YAML
23812381
added: v0.1.8
23822382
changes:
2383+
- version: v10.10.0
2384+
pr-url: https://github.com/nodejs/node/pull/22020
2385+
description: New option `withFileTypes` was added.
23832386
- version: v10.0.0
23842387
pr-url: https://github.com/nodejs/node/pull/12562
23852388
description: The `callback` parameter is no longer optional. Not passing
@@ -2421,6 +2424,9 @@ If `options.withFileTypes` is set to `true`, the `files` array will contain
24212424
<!-- YAML
24222425
added: v0.1.21
24232426
changes:
2427+
- version: v10.10.0
2428+
pr-url: https://github.com/nodejs/node/pull/22020
2429+
description: New option `withFileTypes` was added.
24242430
- version: v7.6.0
24252431
pr-url: https://github.com/nodejs/node/pull/10739
24262432
description: The `path` parameter can be a WHATWG `URL` object using `file:`

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.