-
-
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
Filesystem - no function to create hard links? #41574
Comments
A survey of other language APIs:
It would seem natural to add this as |
Thanks Chris. Yeah I agree with that naming - (Though I personally always found the target and link terminology super confusing and always second-guess the ordering, even for |
Also I think it would be unfortunate to export a completely generic name like
You're not the only one! It seems to me that hardlink(src::AbstractString, dst::AbstractString) |
Does Windows support hardlinks? |
Yes, they are supported in NTFS. |
Ok then it seems sensible to have a |
It amounts to
right? I think I could do that if nobody's working on it already. |
That sounds about right to me. I haven’t started working on it - thank you for offering! |
Yes, that sounds right. I would mimic what's done for |
Unless I missed it, it seems we don't have a way to create hard links in the filesystem. I was suprised because we use libuv and Node has
fs.linkSync(existing_path, new_path)
and friends. I'm guessing adding this might not be too difficult?See also https://discourse.julialang.org/t/create-hard-links-in-julia-is-there-another-way-than-via-external-command-run/12908
The text was updated successfully, but these errors were encountered: