When calling move() it checks if the destination exists, and if it does it refuses to call rename. This means you can't change the case on a case-insensitive file system.
Fs-extra should check that the destination has the same inode before refusing to move.
|
if (destExists) return cb(new Error('dest already exists.')) |
When calling move() it checks if the destination exists, and if it does it refuses to call
rename. This means you can't change the case on a case-insensitive file system.Fs-extra should check that the destination has the same inode before refusing to move.
node-fs-extra/lib/move/move.js
Line 41 in 40c3d68