Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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) }`
Expand Down