Opinionated directory move operations.
The default rename
operation from [std::fs::rename
] doesn't work for some usecases uvm
has during
installation of certain modules. The special move_dir
function in this crate allows:
A special windows invocation of [MoveFileExW
] without the MOVEFILE_REPLACE_EXISTING
flag, which [std::fs::rename
] sets,
allows moving of directories also under windows.