Skip to content

Commit ba1b317

Browse files
authored
os: add hint for mv_by_cp to mv (#17036)
1 parent 4098612 commit ba1b317

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

vlib/os/os.c.v

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,7 @@ pub fn file_size(path string) u64 {
212212
}
213213

214214
// mv moves files or folders from `src` to `dst`.
215+
// if you are not sure that the source and target are on the same mount/partition use mv_by_cp
215216
pub fn mv(src string, dst string) ! {
216217
mut rdst := dst
217218
if is_dir(rdst) {

0 commit comments

Comments
 (0)