Filter options for copyDirSyncRecursive #31

Merged
donaldpipowitch merged 1 commit from master into master 2012-11-09 02:05:35 -08:00

1 commit

Author SHA1 Message Date
donaldpipowitch
eb1bf2399b - added to new properties to opts param in copyDirSyncRecursive:
-- opts.filter (RegExp): a RegExp which could look like this: /^CVS$|.idea$|.DS_Store$/. If added, every file or directory which matches the RegExp will be ignored. In this example every "CVS" directory and all ".idea" and ".DS_Stores" files would be ignored.
-- opts.filter (Boolean): If set tu true, the RegExp in opts.filter will be used as a whitelist. Every file or directory which DOESN'T match opts.filter will be ignored.
2012-07-05 10:08:28 +03:00