Commit graph

132 commits

Author SHA1 Message Date
Ryan McGrath
e5f08b8c4d Merge pull request #77 from SamyPesse/patch-1
Fix copyDirRecursive error callback
2014-02-10 14:19:24 +08:00
Ryan McGrath
666e0c7e75 Merge pull request #79 from xzyfer/fix/sync-absolute-symlink
Fix inflateSymlinks flag errors for absolute symlinks
2014-02-10 14:18:19 +08:00
Ryan McGrath
6b80b65a7f Merge pull request #78 from xzyfer/fix/broken-tests
Fix failing tests for copyDirSyncRecursive.
2014-02-10 14:17:46 +08:00
Ryan McGrath
1b4ef049c4 Merge pull request #75 from gdw2/master
Added "preserveTimestamps" option
2014-02-10 14:17:20 +08:00
xzyfer
b0455c99ba Fix inflateSymlinks flag errors for absolute symlinks 2014-02-10 17:00:38 +11:00
xzyfer
b46a97227d Fix failing tests 2014-02-10 16:57:35 +11:00
Samy Pessé
b655e26806 Fix copyDirRecursive error callback 2014-02-09 10:32:01 +01:00
Greg Warner
39d89374c0 added preserveTimestamps 2014-01-22 10:08:41 -07:00
Ryan McGrath
65e80e5788 Version bump 2014-01-18 11:11:02 +08:00
Ryan McGrath
ad15e015eb Merge pull request #67 from Krinkle/patch-1
copyDirSyncRecursive: Remove obsolete typeof check
2014-01-17 18:37:10 -08:00
Ryan McGrath
012387c223 Merge pull request #74 from yeputons/master
tests/rmdirSyncRecursive: fixed files access rights from 777 to 444 to actually check something
2014-01-17 18:36:46 -08:00
yeputons
fd7461dc44 tests/rmdirSyncRecursive: fixed files access rights from 777 to 444 to actually check something 2014-01-17 14:40:30 +04:00
Ryan McGrath
354678e4ee Version bump for Windows issue fix 2014-01-17 15:48:47 +08:00
Ryan McGrath
97f22f7591 Merge pull request #73 from seanmwalker/master
Windows permission change before unlinking files and symlinks is in and has better tests.
2014-01-16 23:47:40 -08:00
seanmwalker
99106ac738 Remove console.log statements to clean up the code. 2014-01-17 01:33:47 -06:00
seanmwalker
df61c7017f Updating test for rmdirSyncRecursive to check for files with alternative permissions being removed properly. 2014-01-17 01:28:55 -06:00
seanmwalker
793c61eec0 Updating wrench rmdirSyncRecursive to support permissions issues for windows. 2014-01-17 00:45:26 -06:00
Timo Tijhof
f76a05e874 copyDirSyncRecursive: Remove obsolete typeof check
Variable `opts` is never undefined at this point because
of "opts = opts || {};".
2013-11-14 01:44:35 +01:00
Ryan McGrath
5c716f9c0d Resolve this merge conflict that I somehow 100% totally missed (fixes #63) 2013-10-16 07:46:46 +09:00
Ryan McGrath
99686fbdc2 . release 2013-10-16 07:23:32 +09:00
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