Ryan McGrath
5cf0de3420
Merges pull request #57 . copyFileSync kept away for the moment, the rest seems rocking.
2013-10-16 07:22:13 +09:00
Ryan McGrath
0f21829511
Point release, adds some stuff from pull request #55
2013-10-16 07:17:56 +09:00
Ryan McGrath
f6074405ba
Merge pull request #59 from aogriffiths/patch-1
...
Update wrench.js
2013-10-15 14:51:41 -07:00
Adam Griffiths
e3a696c40f
Update wrench.js
...
Fixes a bug (not sure if has been reported).
`copyDirRecursive` calls itself from the `rmdirRecursive` callback when newDir exists. It should call itself with the original copyDirRecursive arguments, not the callback arguments.
Also `fun.apply(thisArg, argsArray)` expects argsArray to be an array (see [here](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/apply )) but `arguments` is not an array (see [here](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions_and_function_scope/arguments ))
2013-08-04 19:12:53 +01: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
Patrick Steele-Idem
7827a700ff
Update readme.md
2013-07-24 23:48:02 -06:00
Patrick Steele-Idem
ba0882a4d1
Update readme.md
2013-07-24 23:47:28 -06:00
Patrick Steele-Idem
c9c99d43b6
Updated readme based on filter improvements
2013-07-24 23:45:49 -06:00
Patrick Steele-Idem
5acb4ed037
Added support for include and exclude filters and function filters. Also export copyFileSync method now
2013-07-24 23:45:28 -06: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