You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First, we should add tests for it to each backend.
And then we should decide if we would like to stay with possible different behavior that is then documented in the corresponding docstrings of the backends, or if we should provide a standard behavior, e.g. raising an error if a sub-path is given in all backends.
The text was updated successfully, but these errors were encountered:
Yes, it seems indeed a good idea to avoid adding some additional operations that first checks what exists and what not.
So, indeed updating the documentation seems the way to go here.
I would maybe not write that a user must not use an existing sub-path as destination, but mention that in this case we do not guarantee a fixed behavior as it depends on the underlying backend and platform. And hence recommend to not use a sub-path as destination.
As discussed in #181 (comment) and #181 (comment)
Backend.copy_file()
might behave in unexpected ways.First, we should add tests for it to each backend.
And then we should decide if we would like to stay with possible different behavior that is then documented in the corresponding docstrings of the backends, or if we should provide a standard behavior, e.g. raising an error if a sub-path is given in all backends.
The text was updated successfully, but these errors were encountered: