zkochan / packages

Zoltan Kochan's npm packages
MIT License
99 stars 26 forks source link

fix(rename-overwrite): allow cross-filesystem rename #169

Closed louix closed 2 years ago

louix commented 2 years ago

Fixes issues like this:

Can manually test with renameOverwrite('/home/<user>/somefile.json', '/tmp/somefile.json'). Given you need to cross partitions, I'm not sure anything reliable can go into test.js.