Skip to content
This repository has been archived by the owner on Jun 19, 2019. It is now read-only.

Filter options for copyDirSyncRecursive #31

Merged
merged 1 commit into from
Nov 9, 2012

Conversation

donaldpipowitch
Copy link
Contributor

-- 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.

-- 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.
ryanmcgrath pushed a commit that referenced this pull request Nov 9, 2012
Filter options for copyDirSyncRecursive
@ryanmcgrath ryanmcgrath merged commit 44b84fd into ryanmcgrath:master Nov 9, 2012
@ryanmcgrath
Copy link
Owner

I'm 4 months late. Whoops.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants