the mv
command takes a long time even if the src and dest on same device.
#6029
Labels
mv
command takes a long time even if the src and dest on same device.
#6029
see
reproduce:
npm install
cd node_modules
to simulate a file being locked by a processmv node_modules \.nd
This command will take a long time and then fail.is possible to change the fallback to copy only when the
std::fs::rename
report anERROR_NOT_SAME_DEVICE/EXDEV
error? this will failed immediately rather than takes a long time and then failed.now it always trying to copy, even if it just an permission error, this takes a long time, and then failed again.
The text was updated successfully, but these errors were encountered: