mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
os: add hint for mv_by_cp to mv (#17036)
This commit is contained in:
parent
4098612a87
commit
ba1b31700e
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user