From f1858e785ddb7c5eb949aea3a0e1a333ad3331a2 Mon Sep 17 00:00:00 2001 From: snuggles08 Date: Thu, 13 Aug 2015 09:39:51 -0400 Subject: [PATCH] Fix copy formatting and document options.filter --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4872f59..98692f3 100644 --- a/README.md +++ b/README.md @@ -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()`