Refael Dakar
5037c5ba23
Merge 261c8d61a8 into 81d7fa5cf9
2013-08-02 01:40:47 -07:00
Ryan McGrath
81d7fa5cf9
Merge pull request #58 from bubbleboy14/master
...
fixed getNextLine
2013-08-02 01:39:42 -07:00
Mario Balibrera
be1e0e24ff
fixed getNextLine
2013-08-01 19:42:52 -07:00
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
Ryan McGrath
31cf44b999
Fix typo, typof, typeof
2013-05-03 17:52:28 -04:00
Ryan McGrath
b1617520cb
Note about 1.5.0 possible breaking change
2013-05-03 17:21:32 -04:00
Ryan McGrath
3ee88eb0bd
Note about 1.5.0 possible breaking change
2013-05-03 17:16:23 -04:00
Ryan McGrath
b20fc29a99
Bump to 1.5 for fixes
2013-05-03 17:02:10 -04:00
Ryan McGrath
c8475a199e
Bit of args switching to keep old users in running order
2013-05-03 16:54:06 -04:00
Ryan McGrath
04c8fe0239
Fixes #50 . They're right, this should follow OS default behavior.
2013-05-03 16:48:08 -04:00
Ryan McGrath
f8ed81ad5a
Handles scenarios where lines might not end with a newline at the end of the file. Fixes #49 .
2013-05-03 16:18:16 -04:00
Ryan
9d8a81592f
Fix typo in readme, issue #51
2013-05-03 15:55:43 -04:00
Ryan McGrath
dff761f4e6
Merge pull request #48 from ViciousPotato/callback
...
copyDirRecursive callback receives at least a null error parameter.
2013-05-03 12:44:45 -07:00
Ryan McGrath
c8fc1258b9
Merge pull request #45 from tmont/master
...
Handle errors for non-existent directories in readdirRecursive()
2013-05-03 12:43:36 -07:00
Zhou Honglin
e70a63844d
copyDirRecursive callback receives at least a null error parameter. Issue #47 .
2013-01-24 11:46:38 +08:00
tmont
14ed84beb6
removed unused variables
2013-01-18 11:21:45 -08:00
tmont
9dbd7513ac
handle errors to fs.readdir()
2013-01-18 11:21:08 -08:00
tmont
c4753a4e58
ignore .idea directory
2013-01-18 11:20:41 -08:00
Ryan McGrath
b70e1b1fb6
Version bump for npm
2012-12-01 01:41:33 -05:00
Ryan McGrath
d396853ab7
Patch for pull request #44
2012-12-01 01:40:09 -05:00
Ryan McGrath
ffca6d259a
Merge pull request #43 from TehShrike/master
...
Fixing some cross-platform path issues
2012-11-30 22:34:20 -08:00
TehShrike
db84ed7dc1
Switching to path.join instead of concatenation
...
Made path parsing friendlier across platforms
2012-11-30 00:37:26 +00:00
TehShrike
81ef6ee7df
Changing path.existsSync to fs.existsSync
2012-11-17 03:14:11 +00:00
Ryan McGrath
75af1f122b
Version bump
2012-11-16 04:43:20 -05:00
Ryan McGrath
080761cb80
Merge pull request #42 from smucode/master
...
Null check in copyDirSyncRecursive
2012-11-16 01:35:19 -08:00
Stig Murberg
5e80ff972c
added null check so copyDirSyncRecursive will work without passing opts
2012-11-15 12:25:11 +01:00
Ryan McGrath
32c2af7f44
Version bump
2012-11-10 20:38:48 -05:00
Ryan McGrath
c382a83171
Merge pull request #38 from refaelos/master
...
new options: 'preserveFiles' and 'inflateSymlinks'
2012-11-10 17:32:55 -08:00
Ryan McGrath
6972758cba
Bump version
2012-11-09 10:10:51 -05:00
Ryan McGrath
2628e88075
Fixes #39
2012-11-09 10:10:15 -05:00
refaelos
fcc6760b11
merged with master repo
2012-11-09 14:18:33 +02:00
refaelos
0b54b60a53
added preserveFiles and inflateSymlinks options and tests
2012-11-09 14:06:54 +02:00
Ryan McGrath
a4ea1864ef
Version bump for dat NPM
2012-11-09 05:22:00 -05:00
Ryan McGrath
676e210fc4
Fixes issue #32
2012-11-09 05:20:15 -05:00
Ryan McGrath
04d6db164e
Fix for issue #35
2012-11-09 05:14:22 -05:00
Ryan McGrath
6c90fc6e67
Merge in @refaelos excludeHidden && excludeHiddenUnix patch
2012-11-09 05:12:39 -05:00
Ryan McGrath
5119852f6c
Merge pull request #33 from node-migrator-bot/clean
...
migrationBot is a stud
2012-11-09 02:06:54 -08:00
Ryan McGrath
44b84fdbaf
Merge pull request #31 from donaldpipowitch/master
...
Filter options for copyDirSyncRecursive
2012-11-09 02:05:35 -08:00
refaelos
658589c35e
changed excludeHidden to excludeHiddenUnix b/c the testing for hidden file is only applicable for unix
2012-10-15 15:35:43 +02:00
refaelos
8097eb52bd
added tests
2012-10-15 15:33:36 +02:00
refaelos
c2674863e9
added excludeHidden flag
2012-10-15 14:59:06 +02:00
refaelos
a2cac1647d
not copying hidden files/folders
2012-10-15 14:53:42 +02:00
Farrin Reid
a0749b36ac
[fix] path.existsSync was moved to fs.existsSync
2012-07-07 05:34:05 -08:00
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