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.
1 parent dbbb433 commit 38e6b3cCopy full SHA for 38e6b3c
fs/move.py
@@ -64,10 +64,6 @@ def move_file(
64
with manage_fs(src_fs, writeable=True) as _src_fs:
65
with manage_fs(dst_fs, writeable=True, create=True) as _dst_fs:
66
if _src_fs is _dst_fs:
67
- # Exit early if source and destination are the same file
68
- if normpath(src_path) == normpath(dst_path):
69
- return
70
-
71
# Same filesystem, may be optimized
72
_src_fs.move(
73
src_path, dst_path, overwrite=True, preserve_time=preserve_time
0 commit comments