From 20d7e51e684413e4d98e1edec3ec299e9a92166c Mon Sep 17 00:00:00 2001 From: JP Richardson Date: Sun, 9 Aug 2015 10:04:29 -0500 Subject: [PATCH 1/2] readme: change travis badge --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 73c34be9..4872f59c 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ Node.js: fs-extra ================= -[![build status](https://secure.travis-ci.org/jprichardson/node-fs-extra.svg)](http://travis-ci.org/jprichardson/node-fs-extra) +[![build status](https://api.travis-ci.org/jprichardson/node-fs-extra.svg)](http://travis-ci.org/jprichardson/node-fs-extra) [![windows Build status](https://img.shields.io/appveyor/ci/jprichardson/node-fs-extra/master.svg?label=windows%20build)](https://ci.appveyor.com/project/jprichardson/node-fs-extra/branch/master) [![downloads per month](http://img.shields.io/npm/dm/fs-extra.svg)](https://www.npmjs.org/package/fs-extra) [![Coverage Status](https://img.shields.io/coveralls/jprichardson/node-fs-extra.svg)](https://coveralls.io/r/jprichardson/node-fs-extra) From f1858e785ddb7c5eb949aea3a0e1a333ad3331a2 Mon Sep 17 00:00:00 2001 From: snuggles08 Date: Thu, 13 Aug 2015 09:39:51 -0400 Subject: [PATCH 2/2] 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 4872f59c..98692f38 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()`