ryanmcgrath / wrench-js

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

new features in copyDirRecursive #55

Closed refaelos closed 11 years ago

refaelos commented 11 years ago

Fixed an issue with error handling in 'rmdirRecursive'

changed the way copyDirRecursive works.

ryanmcgrath commented 11 years ago

Mmm, the behavior of forceDelete is the way I think I want this library to stay, as it's what people seemed to be largely expecting (and then were getting subsequently confused by) when they used the library. The way you're doing it is akin to what we had before.

I'm confused by what you mean when you say you "added" inflateHiddenSymlinks and excludeHiddenUnix - those already existed in the library. Did you mean to say you fixed them...?

refaelos commented 11 years ago

Ok. I'll fix what i did.

About inflateHiddenSymlinks and excludeHiddenUnix: Those were in the 'sync' version of the function but not in this one.

simonlevasseur commented 11 years ago

Can the documentation be updated for the forceDelete -> preserve change?

ryanmcgrath commented 11 years ago

I borrowed a few things from this, but basically ended up cherry picking from a few different pull requests. 5 months late, but thanks yo.