diff --git a/vlib/os/os.c.v b/vlib/os/os.c.v index 121a69d81a..6d94ca54dc 100644 --- a/vlib/os/os.c.v +++ b/vlib/os/os.c.v @@ -212,6 +212,7 @@ pub fn file_size(path string) u64 { } // mv moves files or folders from `src` to `dst`. +// if you are not sure that the source and target are on the same mount/partition use mv_by_cp pub fn mv(src string, dst string) ! { mut rdst := dst if is_dir(rdst) {