new features in copyDirRecursive #55

Closed
refaelos wants to merge 7 commits from master into master

7 commits

Author SHA1 Message Date
refaelos
261c8d61a8 if clbk is not given, create a dummy clbk 2013-06-26 17:53:19 +03:00
refaelos
5b747d9bb1 fixed an issue with error handling in 'rmdirRecursive' 2013-06-12 18:56:12 +03:00
refaelos
8fbe19ffed added 'mkdirp' to package,json
'mkdirp' is a useful tool to async mkdir recursive that doesn't fail if the folder exists.
2013-05-22 10:43:42 +03:00
refaelos
d32c9f46bc changed the way copyDirRecursive works.
- paths needed to be normalized
- using 'preserve' instead of 'forceDelete'. it makes more sense to let users decide if they want to keep the existing folders/subfolders then to ask them if they want to 'forceDelete' the old ones. The default operation will be to keep existing folders.
- added (and fixed) 'inflateSymLinks'. It's a new option that allows users do decide if they want to copy symlinks from original folder as new folders or just copy the symlink.
2013-05-22 10:37:47 +03:00
refaelos
fee7f769ae removed previous function
fixed docs
2013-05-20 19:43:27 +03:00
refaelos
02bd67c8a6 in 'copyDirRecursive':
- replaces 'forceDelete' with 'preserve'.
- added an option to get 'excludeHiddenUnix'
= added an option to get 'inflateSymlinks'
2013-05-20 19:38:17 +03:00
refaelos
58380677c2 assigning original file's mode to the copied file 2013-05-20 19:17:12 +03:00