-
-
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
ERROR: cp() when subdir contains symbolic linked dirs #10506
Comments
cc @ninjin |
Thank you for the poke @jiahao, I was lagging behind a little bit on the mailing list. I will be setting this as my next target and have a look at a couple of other implementations in order to get things right. |
cc @ninjin readlink is useful in other cases too |
Question: Would it make sense to split this into something like:
e.g. python uses |
I don't think having two separate function names is a very Julian approach for this. |
I will start on this issue now where readlink is merged |
Can be closed! |
ERROR: cp() when subdir contains symbolic linked dirs
The documentation says: http://julia.readthedocs.org/en/latest/stdlib/file/?highlight=cp#Base.cp
For an example: I have such file structure which contains one absolute and one relative sympolic link to the directory
src
Python just does it fine: also keeps the absolute link as it should be.
Julia: ERROR
Version 0.4.0-dev+3806 (2015-03-13 01:02 UTC)
Commit 5195cc8 (0 days old master)
x86_64-unknown-linux-gnu
Arch Linux
Possible missing: readlink
I'm very new to julia so I might miss something and I'm not much of a C person - the reason I hope julia will fit my needs.
python has: readlink which is used in the shutil.copytree code
libuv supports readlink
uv_fs_readlink
But it seems to be missing from: julia: jl_uv.c
I'm not 100% sure how to implement
readlink
myself.Thanks
The text was updated successfully, but these errors were encountered: