@ -9,7 +9,7 @@ Copy a file or directory. The directory can have contents. Like `cp -r`.
- `errorOnExist``<boolean>`: when `overwrite` is `false` and the destination exists, throw an error. Default is `false`.
- `errorOnExist``<boolean>`: when `overwrite` is `false` and the destination exists, throw an error. Default is `false`.
- `dereference``<boolean>`: dereference symlinks, default is `false`.
- `dereference``<boolean>`: dereference symlinks, default is `false`.
- `preserveTimestamps``<boolean>`: will set last modification and access times to the ones of the original source files, default is `false`.
- `preserveTimestamps``<boolean>`: will set last modification and access times to the ones of the original source files, default is `false`.
- `filter``<Function>`: Function to filter copied files. Return `true` to include, `false` to exclude.
- `filter``<Function>`: Function to filter copied files. Return `true` to include, `false` to exclude. Can also return a `Promise` that resolves to `true` or `false` (or pass in an `async` function).