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 dc4c569

Browse filesBrowse 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
Copy full SHA for dc4c569

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

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

‎doc/api/fs.md‎

Copy file name to clipboardExpand all lines: doc/api/fs.md
+15Lines changed: 15 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.