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 117cb32 commit 766a0a0Copy full SHA for 766a0a0
fs/move.py
@@ -137,6 +137,11 @@ def move_dir(
137
preserve_time (bool): If `True`, try to preserve mtime of the
138
resources (defaults to `False`).
139
140
+ Raises:
141
+ fs.errors.ResourceNotFound: if ``src_path`` does not exist on `src_fs`
142
+ fs.errors.DirectoryExpected: if ``src_path`` or one of its
143
+ ancestors is not a directory.
144
+ fs.errors.IllegalDestination: when moving a folder into itself
145
"""
146
with manage_fs(src_fs, writeable=True) as _src_fs:
147
with manage_fs(dst_fs, writeable=True, create=True) as _dst_fs:
0 commit comments