@@ -1268,6 +1268,10 @@ changes:
12681268Asynchronously copies ` src` to ` dest` . By default, ` dest` is overwritten if it
12691269already exists.
12701270
1271+ Symbolic links are followed. If ` src` is a symbolic link, the target file is
1272+ copied. If ` dest` is a symbolic link, the target file is overwritten unless
1273+ ` mode` contains ` fs .constants .COPYFILE_EXCL ` .
1274+
12711275No guarantees are made about the atomicity of the copy operation. If an
12721276error occurs after the destination file has been opened for writing, an attempt
12731277will be made to remove the destination.
@@ -2747,6 +2751,10 @@ callback function. Node.js makes no guarantees about the atomicity of the copy
27472751operation. If an error occurs after the destination file has been opened for
27482752writing, Node.js will attempt to remove the destination.
27492753
2754+ Symbolic links are followed. If `src` is a symbolic link, the target file is
2755+ copied. If `dest` is a symbolic link, the target file is overwritten unless
2756+ `mode` contains `fs.constants.COPYFILE_EXCL`.
2757+
27502758`mode` is an optional integer that specifies the behavior
27512759of the copy operation. It is possible to create a mask consisting of the bitwise
27522760OR of two or more values (e.g.
@@ -5838,6 +5846,10 @@ already exists. Returns `undefined`. Node.js makes no guarantees about the
58385846atomicity of the copy operation. If an error occurs after the destination file
58395847has been opened for writing, Node.js will attempt to remove the destination.
58405848
5849+ Symbolic links are followed. If ` src` is a symbolic link, the target file is
5850+ copied. If ` dest` is a symbolic link, the target file is overwritten unless
5851+ ` mode` contains ` fs .constants .COPYFILE_EXCL ` .
5852+
58415853` mode` is an optional integer that specifies the behavior
58425854of the copy operation. It is possible to create a mask consisting of the bitwise
58435855OR of two or more values (e.g.
0 commit comments