mirror of
https://github.com/jprichardson/node-fs-extra.git
synced 2026-01-25 16:42:57 +00:00
Merge pull request #174 from snuggles08/patch-1
Fix copy formatting and document options.filter
This commit is contained in:
commit
feb61fd5e1
@ -99,8 +99,9 @@ Methods
|
||||
Copy a file or directory. The directory can have contents. Like `cp -r`.
|
||||
|
||||
Options:
|
||||
clobber (boolean): overwrite existing file or directory
|
||||
preserveTimestamps (boolean): will set last modification and access times to the ones of the original source files, default is `false`.
|
||||
clobber (boolean): overwrite existing file or directory
|
||||
preserveTimestamps (boolean): will set last modification and access times to the ones of the original source files, default is `false`.
|
||||
filter: Function or RegExp to filter copied files. If function, return true to include, false to exclude. If RegExp, same as function, where `filter` is `filter.test`.
|
||||
|
||||
Sync: `copySync()`
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user