#unity #version-manager

uvm_move_dir

Opinionated directory move operation

2 releases

0.1.1 Nov 6, 2019
0.1.0 Nov 4, 2019

#1893 in Development tools

Download history 9/week @ 2023-02-07 16/week @ 2023-02-14 8/week @ 2023-02-21 32/week @ 2023-02-28 6/week @ 2023-03-07 10/week @ 2023-03-14 3/week @ 2023-03-21 8/week @ 2023-03-28 4/week @ 2023-04-04 11/week @ 2023-04-11 9/week @ 2023-04-18 14/week @ 2023-04-25 19/week @ 2023-05-02 18/week @ 2023-05-09 30/week @ 2023-05-16 18/week @ 2023-05-23

86 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

~0.1–6MB
~99K SLoC