Skip to content

Commit dc4c569

Browse files
codebytereruyadorno
authored andcommitted
doc: add missing copyFile change history
PR-URL: #35056 Reviewed-By: Rich Trott <rtrott@gmail.com>
1 parent e8d479e commit dc4c569

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

doc/api/fs.md

+15
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
@@ -4991,6 +5001,11 @@ upon success.
49915001
### `fsPromises.copyFile(src, dest[, mode])`
49925002
<!-- YAML
49935003
added: v10.0.0
5004+
changes:
5005+
- version: v14.0.0
5006+
pr-url: https://github.com/nodejs/node/pull/27044
5007+
description: Changed 'flags' argument to 'mode' and imposed
5008+
stricter type validation.
49945009
-->
49955010

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

0 commit comments

Comments
 (0)