-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add keyword remove_destination
to mv
function
#11145
Comments
according to my reading of the src:
|
But I noticed that |
mv
functionmv
& rename
functions
mv
& rename
functionsmv
functions
just something I noticed: currently the test suit uses: I just wondered if the name |
|
I think sticking with the Python name here is probably best and making sure the documentation is clear. |
There is no official documentation as it is not exported: I could add a small comment in the srcfile that it is supposed to work for files and directories when I send this PR. |
mv
functionsremove_destination
to mv
function
…o__mv Adds kw `remove_destination` to `mv` function #11145
…cs/tests/NEWS entry
…cs/tests/NEWS entry
closed by #11172 |
This is a follow up issue from comments:
#11024 (comment)
reply StefanKarpinski
@StefanKarpinski > Yes please, @peter1000!
I just had a fast look and I think there are some other issues too:
Move a file from src to dst
. Related to second question: is it suppose to work also on directories?cp
discussion. symlinks. I tried a fastmv
on a directory and obviously any absolute symlinks within the rootdir get broken if the folder is renamed.I can fix this but the question is: should we also add the kw:
follow_symlinks
similar to copy.Relevant code portion: fs.jl
file.jl
The text was updated successfully, but these errors were encountered: