Skip to content

Commit 2e78e4b

Browse files
kovanclaude
authored andcommitted
doc: add throwIfNoEntry version history to fs.stat
PR #61178 added the throwIfNoEntry option to fs.stat and fsPromises.stat (shipped in v25.7.0) but did not add corresponding YAML version history entries. The sync variants (fs.statSync, fs.lstatSync) already had history entries from PR #33716. Fixes: #62185 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> PR-URL: #62204 Reviewed-By: René <contact.9a5d6388@renegade334.me.uk> Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent 3cd1576 commit 2e78e4b

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

doc/api/fs.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2070,6 +2070,10 @@ Removes files and directories (modeled on the standard POSIX `rm` utility).
20702070
<!-- YAML
20712071
added: v10.0.0
20722072
changes:
2073+
- version: v24.15.0
2074+
pr-url: https://github.com/nodejs/node/pull/61178
2075+
description: Accepts a `throwIfNoEntry` option to specify whether
2076+
an exception should be thrown if the entry does not exist.
20732077
- version: v10.5.0
20742078
pr-url: https://github.com/nodejs/node/pull/20220
20752079
description: Accepts an additional `options` object to specify whether
@@ -4813,6 +4817,10 @@ completion callback.
48134817
<!-- YAML
48144818
added: v0.0.2
48154819
changes:
4820+
- version: v24.15.0
4821+
pr-url: https://github.com/nodejs/node/pull/61178
4822+
description: Accepts a `throwIfNoEntry` option to specify whether
4823+
an exception should be thrown if the entry does not exist.
48164824
- version: v18.0.0
48174825
pr-url: https://github.com/nodejs/node/pull/41678
48184826
description: Passing an invalid callback to the `callback` argument

0 commit comments

Comments
 (0)