Mani Maghsoudlou
e261c49b5c
Add done() to copySync tests when setTimeout() is used
2017-02-22 12:21:48 -08:00
Mani Maghsoudlou
75d8ba7c32
Remove unnecessary param from filter regex in copy and copySync, remove done() from copySync test
2017-02-22 11:52:14 -08:00
Mani Maghsoudlou
89230976b9
Add dest parameter to filter option in copy and copySync
2017-02-22 04:03:28 -08:00
JPeer264
4782e82203
Refactor test copy-sync
2017-02-21 09:10:18 +01:00
JPeer264
f258e5bfed
Refactor copy-sync
2017-02-14 19:09:36 +01:00
JPeer264
29e61ab637
Refactor copy-file-sync
2017-02-14 19:00:21 +01:00
RyanZim
5be5ae3053
Rename clobber to overwrite
...
Keep clobber for backwards compatibility
Fixes #172
2016-12-29 17:38:45 -05:00
RyanZim
3fa83d4f0d
BREAKING: Do not error when copy destination exists & clobber: false
...
Add errorOnExist option for users that want an error
Resolves #321
2016-12-24 15:53:23 -05:00
RyanZim
e3d37fdf0d
copySync() should apply filter to directories like copy()
...
Fixes #180
2016-12-05 18:55:05 -05:00
Kyle Peyton
e785645367
Adding copy sync test for src file without write perms
2016-11-15 10:12:26 -08:00
RyanZim
071f8ce963
Fix typo
...
depreciated -> deprecated
2016-10-28 14:56:35 -04:00
RyanZim
ac6f688d10
Remove chmod call from copySync
2016-10-27 19:28:06 -04:00
RyanZim
9da4958d39
Warn when filter is a RegExp
2016-10-27 16:07:09 -04:00
JP Richardson
396c7acadb
Merge pull request #297 from jprichardson/32-bit
...
Warn about using preserveTimestamps on 32-bit node
2016-10-26 22:31:23 -05:00
RyanZim
0e0fcb88dc
Warn about using preserveTimestamps on 32-bit node
...
Fixes #269
2016-10-26 20:14:26 -04:00
RyanZim
f83b13af8f
Improve EEXIST error message for copySync
2016-10-26 19:54:56 -04:00
rjz
b50515c484
Adds dereference option to copySync
...
Extends the existing `dereference` option from `copy`/`ncp` to the
synchronous implementation, but leaves changes to each method's default
behavior for another day (#210 ).
2016-04-14 17:31:35 -07:00
chinesedfan
38d1ab7fb3
[copySync]fix options.preserveTimestamps. Closes #205 .
2016-01-05 15:09:29 +08: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
7b0ff8172a
JavaScript Standard Style tweaks
2015-10-21 06:24:01 -05:00
JP Richardson
f023eec02b
lib/copy-sync/__tests__/copy-sync-dir: fixed
2015-07-09 05:17:18 -05:00
JP Richardson
a512f12c7d
lib/copy-sync/__tests__/copy-sync-preserve-time: split into more files
2015-07-09 04:29:21 -05:00
JP Richardson
e9221d6bcd
lib/copy-sync/__tests__/copy-sync-preserver-time: renamed
2015-07-08 09:55:08 -05:00
JP Richardson
6d788787fe
lib/{copy, copy-sync}/__tests__/preserve-time: fixed for Windows.
2015-07-03 13:53:28 -05:00
JP Richardson
57d04ba0e3
lib/copy-sync/__tests__/preserve-time: extracted out from ./copy-sync.test
2015-07-03 13:45:42 -05:00
JP Richardson
ac2d8d2c9c
lib/copy-sync: split out of lib/copy/
2015-07-01 13:29:25 -05:00