From 9aa02752172e7e41188170ab256d6c404a5b8499 Mon Sep 17 00:00:00 2001 From: Lucidogen Media Date: Mon, 8 Jun 2015 12:52:32 +0200 Subject: [PATCH] Change file name to file path for clarity. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9480032..97dd7b4 100644 --- a/README.md +++ b/README.md @@ -38,9 +38,9 @@ ncp(source, destination, function (err) { You can also call ncp like `ncp(source, destination, options, callback)`. `options` should be a dictionary. Currently, such options are available: - * `options.filter` - a `RegExp` instance, against which each file name is + * `options.filter` - a `RegExp` instance, against which each file path is tested to determine whether to copy it or not, or a function taking single - parameter: copied file name, returning `true` or `false`, determining + parameter: copied file path, returning `true` or `false`, determining whether to copy file or not. * `options.transform` - a function: `function (read, write) { read.pipe(write) }`