|
22 | 22 | import six |
23 | 23 |
|
24 | 24 | from . import copy, errors, fsencode, iotools, move, tools, walk, wildcard |
25 | | -from .copy import copy_cmtime |
| 25 | +from .copy import copy_mtime |
26 | 26 | from .glob import BoundGlobber |
27 | 27 | from .mode import validate_open_mode |
28 | 28 | from .path import abspath, join, normpath |
@@ -426,7 +426,7 @@ def copy( |
426 | 426 | with closing(self.open(src_path, "rb")) as read_file: |
427 | 427 | # FIXME(@althonos): typing complains because open return IO |
428 | 428 | self.upload(dst_path, read_file) # type: ignore |
429 | | - copy_cmtime(self, src_path, self, dst_path) |
| 429 | + copy_mtime(self, src_path, self, dst_path) |
430 | 430 |
|
431 | 431 | def copydir( |
432 | 432 | self, |
@@ -1155,7 +1155,7 @@ def move(self, src_path, dst_path, overwrite=False, preserve_time=False): |
1155 | 1155 | with self.open(src_path, "rb") as read_file: |
1156 | 1156 | # FIXME(@althonos): typing complains because open return IO |
1157 | 1157 | self.upload(dst_path, read_file) # type: ignore |
1158 | | - copy_cmtime(self, src_path, self, dst_path) |
| 1158 | + copy_mtime(self, src_path, self, dst_path) |
1159 | 1159 | self.remove(src_path) |
1160 | 1160 |
|
1161 | 1161 | def open( |
|
0 commit comments