GeezerVison is showing github.com — doc: add missing copyFile change history · nodejs/node@dc4c569
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
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 number | Diff line number | Diff line change |
|---|
@@ -1650,6 +1650,11 @@ operations. The specific constants currently defined are described in |
1650 | 1650 | ## `fs.copyFile(src, dest[, mode], callback)` |
1651 | 1651 | <!-- YAML |
1652 | 1652 | 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. |
1653 | 1658 | --> |
1654 | 1659 |
|
1655 | 1660 | * `src` {string|Buffer|URL} source filename to copy |
@@ -1696,6 +1701,11 @@ fs.copyFile('source.txt', 'destination.txt', COPYFILE_EXCL, callback); |
1696 | 1701 | ## `fs.copyFileSync(src, dest[, mode])` |
1697 | 1702 | <!-- YAML |
1698 | 1703 | 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. |
1699 | 1709 | --> |
1700 | 1710 |
|
1701 | 1711 | * `src` {string|Buffer|URL} source filename to copy |
@@ -4991,6 +5001,11 @@ upon success. |
4991 | 5001 | ### `fsPromises.copyFile(src, dest[, mode])` |
4992 | 5002 | <!-- YAML |
4993 | 5003 | 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. |
4994 | 5009 | --> |
4995 | 5010 |
|
4996 | 5011 | * `src` {string|Buffer|URL} source filename to copy |
|