29 Commits

Author SHA1 Message Date
JP Richardson
93237ddc5a added test for copy() when source dir() does not exist. 2013-12-30 10:28:13 -06:00
Uli Köhler
46acb17aa6 Added regression test for copy() return callback on error 2013-10-23 17:35:05 +02:00
Srirangan
a59cfea292 filter is optional for fs.copy() 2013-10-14 15:42:24 +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
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
824f7271e9 reformatted copy() tests 2013-10-07 09:20:07 -05:00
JP Richardson
0f1fd748fb added outputJson()/outputJsonSync(), closes #23 2013-05-14 11:03:30 -05:00
JP Richardson
edc26922f2 Added new test. 2013-03-18 11:43:56 -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
98ce3b08f5 Changed creation of testing diretories so the /tmp dir is not littered. 2013-01-28 02:19:21 -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
4e57a14644 Added touch/touchSync methods. 2012-11-02 10:53:37 -05:00
JP Richardson
cc72430f44 Updated mocha.opts. 2012-10-09 23:40:03 -05:00
JP Richardson
8aa7c13d1b Renamed mkdir to mkdirp/mkdirs. 2012-10-09 23:35:13 -05:00
JP Richardson
923085a95a Removed CoffeeScript tests. 2012-10-09 23:31:50 -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
a774c3508b Refactored tests. 2012-05-30 11:32:15 -05:00
JP Richardson
1db943d698 Refactored copy tests. 2012-05-24 16:36:42 -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