We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
preserve_time
1 parent 8a1bf57 commit a200708Copy full SHA for a200708
fs/copy.py
@@ -258,7 +258,7 @@ def copy_file_internal(
258
if src_fs is dst_fs:
259
# Same filesystem, so we can do a potentially optimized
260
# copy
261
- src_fs.copy(src_path, dst_path, overwrite=True)
+ src_fs.copy(src_path, dst_path, overwrite=True, preserve_time=preserve_time)
262
return
263
264
def _copy_locked():
0 commit comments