Skip to content

Commit 155c467

Browse files
committed
doc: add missing copyFile change history
1 parent 27cf6f7 commit 155c467

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

doc/api/fs.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1650,6 +1650,11 @@ operations. The specific constants currently defined are described in
16501650
## `fs.copyFile(src, dest[, mode], callback)`
16511651
<!-- YAML
16521652
added: v8.5.0
1653+
changes:
1654+
- version: v14.0.0
1655+
pr-url: https://github.com/nodejs/node/pull/27044
1656+
description: Changed 'flags' argument to 'mode' and imposed
1657+
stricter type validation.
16531658
-->
16541659

16551660
* `src` {string|Buffer|URL} source filename to copy
@@ -1696,6 +1701,11 @@ fs.copyFile('source.txt', 'destination.txt', COPYFILE_EXCL, callback);
16961701
## `fs.copyFileSync(src, dest[, mode])`
16971702
<!-- YAML
16981703
added: v8.5.0
1704+
changes:
1705+
- version: v14.0.0
1706+
pr-url: https://github.com/nodejs/node/pull/27044
1707+
description: Changed 'flags' argument to 'mode' and imposed
1708+
stricter type validation.
16991709
-->
17001710

17011711
* `src` {string|Buffer|URL} source filename to copy
@@ -5015,6 +5025,11 @@ upon success.
50155025
### `fsPromises.copyFile(src, dest[, mode])`
50165026
<!-- YAML
50175027
added: v10.0.0
5028+
changes:
5029+
- version: v14.0.0
5030+
pr-url: https://github.com/nodejs/node/pull/27044
5031+
description: Changed 'flags' argument to 'mode' and imposed
5032+
stricter type validation.
50185033
-->
50195034

50205035
* `src` {string|Buffer|URL} source filename to copy

0 commit comments

Comments
 (0)