mirror of
https://github.com/vlang/v.git
synced 2025-09-13 22:42:26 +03:00
os: add hint for mv_by_cp to mv (#17036)
This commit is contained in:
parent
4098612a87
commit
ba1b31700e
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue