ryanmcgrath / wrench-js

Recursive file operations in Node.js
MIT License
435 stars 71 forks source link

new options: 'preserveFiles' and 'inflateSymlinks' #37

Closed refaelos closed 12 years ago

refaelos commented 12 years ago

preserveFiles

In case you set the 'preserve' options to true, you might want to keep existing files inside folders. Just set the option 'preserveFiles' to true.

inflateSymlinks

In some cases you might want to have wrench copy the actual file/folder associated with a symlink and not the link itself. Just set the option 'inflateSymlinks' to true.

I also added tests.

refaelos commented 12 years ago

opening a new pull request... please ignore this one.