-
Notifications
You must be signed in to change notification settings - Fork 774
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug: moveSync doesn't preserve timestamp when moveAcrossDevice #992
Comments
@zxcat Good catch! Any chance you could submit a PR? |
I'm sorry, I should have double-checked before commenting. I thought you were saying that It feels like |
Well, my report was not detailed enough. You're right, both
As about As for PR: fastfix is to add node-fs-extra/lib/move/move-sync.js Lines 45 to 50 in f3a7f0b
The proper way is to add tests too. I'm sorry, I cannot add tests now. |
Hi! I can update my PR with the suggested approach if you decide to go with it. Feel free to ping me! |
Sorry for the super slow response here. @zxcat Now I understand; yes, agreed, this is a bug. PR welcome to set |
it's just not implemented:
node-fs-extra/lib/move/move-sync.js
Lines 45 to 50 in f3a7f0b
so if you
move
something from one device to another then you'll lose timestamps (even withpreserveTimestamps
option).versions
fs-extra
version: 11.1.0The text was updated successfully, but these errors were encountered: