2 releases

0.1.1 Nov 6, 2019
0.1.0 Nov 4, 2019

#2139 in Development tools

31 downloads per month
Used in 2 crates (via uvm_install_core)

Apache-2.0

6KB
104 lines

uvm_move_dir

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:

  • to move files into the same path.
  • rename directories

A special windows invocation of MoveFileExW without the MOVEFILE_REPLACE_EXISTING flag, which std::fs::rename sets, allows moving of directories also under windows.

Dependencies

~2–12MB
~120K SLoC