661 Commits

Author SHA1 Message Date
glortho
d863f5fa00 standardjs lint fixes 2016-03-16 09:40:32 -04:00
glortho
4df3d35a29 throw error if src and dest are the same to avoid zeroing out + test 2016-03-15 09:47:02 -04:00
JP Richardson
2b72bc3f2b 0.26.6 0.26.6 2016-03-15 06:39:41 -05:00
JP Richardson
3e16d387ab Merge pull request #229 from daysv/master
fix 'TypeError: callback is not a function' in emptyDir
2016-03-15 06:34:09 -05:00
sang
ee02d2fc00 fix 'TypeError: callback is not a function' 2016-03-15 16:16:54 +08:00
JP Richardson
2de9f09550 Merge pull request #222 from yetanotherusernamebecausegithubisbugged/patch-1
A clearer description of emtpyDir function
2016-02-17 13:27:49 -06:00
yetanotherusernamebecausegithubisbugged
feb74e0a91 A clearer description of emtpyDir function
I was confused by the description so I propose to commit a clearer version.
2016-02-17 16:59:21 +03:00
JP Richardson
84a9c2c7fb Merge pull request #221 from Cellule/patch-1
Update README.md
2016-02-14 09:35:16 -06:00
Michael Ferris
8fe9d4d5fb Update README.md
Fixes links for `outputFile()` and `outputJson()` in the table of content.
List `options` in a bullet point list. The current format is hard to read as it doesn't put different options on a newline.
Removed `copySync()` and added `Sync` description to `copy()` to be more concise with the rest of the doc.
Added a section to explicitly show the difference between `Sync` and `Async` idioms.
2016-02-12 00:12:12 -08:00
JP Richardson
7e37a3c7b8 Merge pull request #219 from marcjansen/patch-1
Add closing parenthesis in copySync example
2016-02-04 08:53:18 -06:00
Marc Jansen
a6872b3f4a Add closing parenthesis in copySync example 2016-02-04 12:30:11 +01:00
JP Richardson
4c44f48317 0.26.5 0.26.5 2016-01-27 09:48:04 -06:00
JP Richardson
02ca57c99a Merge pull request #215 from ioncreature/patch-1
fse.copy throws error when only src and dest provided
2016-01-27 09:43:25 -06:00
Alexander Marenin
beef585ed5 fse.copy throws error when only src and dest provided
I have a lot of legacy code which uses old version(0.12.0) of fs-extra.
Old code does not work with new fs-extra due to it uses fse.copy with only 2 arguments `src` and `dest`.
Let's improve backward compatibility, guys
2016-01-27 18:12:31 +03:00
JP Richardson
dc111de48a Merge pull request #214 from ryanmurakami/master
Fixing copySync anchor tag
2016-01-20 20:58:05 -06:00
Ryan Lewis
b3ee155c12 Fixing copySync anchor tag
Case killed the anchor tag
2016-01-20 17:03:24 -08:00
JP Richardson
5b16857991 Merge pull request #212 from pra85/2016
Update year to 2016 in README.md and LICENSE
2016-01-15 09:59:00 -06:00
Prayag Verma
8857682c76 update year to 2016 2016-01-15 19:45:49 +05:30
JP Richardson
b08fb2cdd7 readme: thought occurred that AWS is probably using Ubuntu LTS... should give more time. 2016-01-13 09:11:37 -06:00
JP Richardson
cd9976c9ee readme: update about dropping support for Node v0.10 2016-01-13 09:09:42 -06:00
JP Richardson
3a8a6e8ec3 changelog: tidy 2016-01-11 03:02:59 -06:00
JP Richardson
efce5fe00e 0.26.4 0.26.4 2016-01-05 23:36:59 -06:00
JP Richardson
cfcda358d8 Merge pull request #208 from chinesedfan/fix_preserveTimestamps
fix options.preserveTimestamps to false in copy-sync by default
2016-01-05 23:33:44 -06:00
chinesedfan
38d1ab7fb3 [copySync]fix options.preserveTimestamps. Closes #205. 2016-01-05 15:09:29 +08:00
JP Richardson
4e105480b2 0.26.3 0.26.3 2015-12-17 11:20:18 -06:00
JP Richardson
97d6b24d52 appveyor: remove iojs (seems to be causing errors) 2015-12-17 11:18:01 -06:00
JP Richardson
d874b3bb5b tests: copy /dev/null. Refs #204. Closes #193. 2015-12-17 11:17:26 -06:00
JP Richardson
b46f5a4288 Merge pull request #204 from raybellis/copy-devnull
allow copy of block and character device files
2015-12-17 11:05:50 -06:00
Ray Bellis
141422ee38 Update ncp.js
allow copying of character or block devices (NB: copies contents, not the inode)
2015-12-17 15:59:28 +00:00
JP Richardson
631ed20f7b tests: copy-dev-null. Refs #193 2015-12-17 09:04:31 -06:00
JP Richardson
b002e354a9 readme: document copySync. Closes #116 2015-12-17 08:55:22 -06:00
JP Richardson
b2e6f2d5b3 readme: add options param for outputFile. Closes #197 2015-12-17 08:27:19 -06:00
JP Richardson
df7c7fd7f3 0.26.2 0.26.2 2015-11-02 21:06:54 -06:00
JP Richardson
08ebcfab78 lib/json: bug fix, outputJson{Sync} wasn't setting spaces correctly. Closes #163. 2015-11-02 21:00:22 -06:00
JP Richardson
e5646b2f2f 0.26.1 0.26.1 2015-11-02 13:02:46 -06:00
JP Richardson
de289db2ad Merge pull request #190 from bartland/CopySyncClobberROFile
copySync to overwrite destination file if readonly and clobber true
2015-11-02 13:00:12 -06:00
bartland
8753c3d0bf Fix so copySync unlinking read only file will now work on
nodejs 0.10.40. This commit fixes #183.
2015-11-02 23:44:15 +11:00
bartland
e05c685e5a copySync updated to overwrite destination file if readonly and clobber
set to true. Added test case. This commit fixes #183.
2015-10-31 14:04:56 +11:00
JP Richardson
d3b2e03606 Merge pull request #189 from bartland/WindowsMoveTestsFix
move.test fix to support CRLF on Windows
2015-10-30 20:54:26 -05:00
bartland
22c19fe1d0 move.test modified to support testing files with both LF (NIX) and
CRLF (Windows) line endings. This commit fixes #188.
2015-10-31 12:36:12 +11:00
JP Richardson
c4e00adb45 0.26.0 0.26.0 2015-10-25 11:00:35 -05:00
JP Richardson
cae574f45a lib/walk: extracted out into module klaw 2015-10-25 10:46:12 -05:00
JP Richardson
4c2af0efa0 0.25.0 0.25.0 2015-10-24 17:02:55 -05:00
JP Richardson
9375ebd453 appveyor: removed io.js 2.1 2015-10-24 16:58:36 -05:00
JP Richardson
4b9805a9e4 lib/walk: made public, added tests 2015-10-24 16:55:12 -05:00
JP Richardson
2b9d21c4c9 appveyor: add Node v4 2015-10-21 06:27:48 -05:00
JP Richardson
3e8d2130a9 travis: add version Node.js v4 2015-10-21 06:25:27 -05:00
JP Richardson
7b0ff8172a JavaScript Standard Style tweaks 2015-10-21 06:24:01 -05:00
JP Richardson
07aa1de369 readme: remove note about wildcards. Closes #155 2015-09-02 15:25:30 -05:00
JP Richardson
55c7a79dd3 Merge branch 'master' of github.com:jprichardson/node-fs-extra 2015-08-28 15:19:04 -05:00