aboutsummaryrefslogtreecommitdiff
path: root/node_modules/fs-extra/docs/copy.md
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2018-09-20 02:56:13 +0200
committerFlorian Dold <florian.dold@gmail.com>2018-09-20 02:56:13 +0200
commitbbff7403fbf46f9ad92240ac213df8d30ef31b64 (patch)
treec58400ec5124da1c7d56b01aea83309f80a56c3b /node_modules/fs-extra/docs/copy.md
parent003fb34971cf63466184351b4db5f7c67df4f444 (diff)
update packages
Diffstat (limited to 'node_modules/fs-extra/docs/copy.md')
-rw-r--r--node_modules/fs-extra/docs/copy.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/node_modules/fs-extra/docs/copy.md b/node_modules/fs-extra/docs/copy.md
index ff0811f50..84407261e 100644
--- a/node_modules/fs-extra/docs/copy.md
+++ b/node_modules/fs-extra/docs/copy.md
@@ -3,7 +3,7 @@
Copy a file or directory. The directory can have contents. Like `cp -r`.
- `src` `<String>`
-- `dest` `<String>`
+- `dest` `<String>` Note that if `src` is a file, `dest` cannot be a directory (see [issue #323](https://github.com/jprichardson/node-fs-extra/issues/323)).
- `options` `<Object>`
- `overwrite` `<boolean>`: overwrite existing file or directory, default is `true`. _Note that the copy operation will silently fail if you set this to `false` and the destination exists._ Use the `errorOnExist` option to change this behavior.
- `errorOnExist` `<boolean>`: when `overwrite` is `false` and the destination exists, throw an error. Default is `false`.