33 Commits

Author SHA1 Message Date
Uli Köhler
e10b89ff2e Return err in copy() fstat cb, because stat could be undefined or null 2013-10-22 02:29:19 +02:00
Srirangan
a59cfea292 filter is optional for fs.copy() 2013-10-14 15:42:24 +02:00
Srirangan
326e2931ee merge 0.7.1 2013-10-13 21:56:38 +02:00
Srirangan
b169e957e8 filter parameter fs.copy and fs.copySync
`filter` can be a function or a regular expression

for filter:function, `filter(src)` must be true for copy
for filter:RegExp, `filter.test(src)` must be true for copy
2013-10-13 21:50:57 +02:00
JP Richardson
f2c371d131 copy.js cleanup 2013-10-12 16:08:13 -05:00
Srirangan
83226a3695 copySync 2013-10-12 14:14:40 +02:00
JP Richardson
46120d3baf when copying a directory, if the destination dir does not exists, it's created 2013-10-07 14:04:27 -05:00
JP Richardson
d9a60558c9 copy now works if destination directory does not exist when copying file 2013-10-07 13:47:31 -05:00
JP Richardson
0f1fd748fb added outputJson()/outputJsonSync(), closes #23 2013-05-14 11:03:30 -05:00
JP Richardson
30140e060f modified for strict mode 2013-05-14 10:37:07 -05:00
JP Richardson
05c93f70fc Optional graceful-fs dep. Closes #17 2013-03-18 11:50:57 -05:00
JP Richardson
edc26922f2 Added new test. 2013-03-18 11:43:56 -05:00
JP Richardson
ed7fe84cb8 Dropped node 0.6 support, added 0.10 support. 2013-03-18 10:05:18 -05:00
JP Richardson
2e8db7abe7 Removed readTextFile. Shortened JSON methods. 2013-02-03 13:23:57 -06:00
JP Richardson
4286f2b420 Added readTextFile methods. Deprecated touch/touchSync methods. 2013-01-28 02:38:41 -06:00
JP Richardson
f2270ee539 Renamed touch to createFile. 2013-01-28 02:12:58 -06:00
JP Richardson
1415064bb5 Working outputFile / outputFileSync. Tests passing. 2013-01-28 02:07:10 -06:00
JP Richardson
5f9edf87d7 Delete old file. 2013-01-28 01:42:27 -06:00
JP Richardson
4e57a14644 Added touch/touchSync methods. 2012-11-02 10:53:37 -05:00
JP Richardson
ede0f52a3f Fixed some stray globals. Closes #12 2012-10-11 13:31:01 -05:00
JP Richardson
8aa7c13d1b Renamed mkdir to mkdirp/mkdirs. 2012-10-09 23:35:13 -05:00
JP Richardson
c600af170b Update 2012-09-10 16:04:59 -05:00
JP Richardson
179033d0fa Rewrote main module in JavaScript. Added Travis-CI. Added jsonfile dependence. 2012-09-10 15:58:08 -05:00
JP Richardson
598865877d Added readJSONFile method. 2012-08-13 01:17:43 -05:00
JP Richardson
b1e6c3d044 Fixed deleteSync bug. Verified Node v0.8 compatibility. 2012-07-18 20:59:41 -05:00
JP Richardson
8624dbd20a Fixed remove/delete undefined callback bug. 2012-06-15 11:17:37 -05:00
JP Richardson
699dbbed95 0.1.0 released. 2012-05-31 11:12:52 -05:00
JP Richardson
5508e8c1ef Added mkdir() 2012-05-31 09:52:33 -05:00
JP Richardson
f7b525785a Renamed copy and remove methods. 2012-05-30 16:14:33 -05:00
JP Richardson
78233a8980 Removed CoffeeScript dependency. 2012-03-14 16:13:37 -05:00
JP Richardson
ec64f4397e Implemented and tested rmrf. 2012-01-11 10:02:18 -06:00
JP Richardson
0af27e22dc Added asychronous copyFile method. 2011-11-16 16:36:35 -06:00
JP Richardson
2525503f7a Initial commit. 2011-11-16 15:47:40 -06:00