2 releases

0.1.1 Nov 6, 2019
0.1.0 Nov 4, 2019

#2498 in Development tools

Download history 3/week @ 2024-07-15 1/week @ 2024-07-29 9/week @ 2024-08-26 20/week @ 2024-09-23 6/week @ 2024-09-30

59 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–10MB
~117K SLoC