-
-
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 option for readdir to prepend the relative or absolute path #33004
Conversation
Unfortunately I am not able to run the test suite (I get segmentation faults) so there are no unit tests yet until I figure out what's going on. |
I'm not really into this change. The |
So you feel that adding that option over-complicates |
Well, I have never used I know that one can use |
Yes. Note that the C function by the same name and the Python |
OK, let's close this then! |
Something about closing this kept nagging at me—after all, it is often more convenient to get joined paths or absolute paths. One of the things that bothers me about this proposed API is that it's non-orthogonal: if you set |
Win win! |
Nice! I like #33113, I am totally fine with the join-functionality only |
Same for me and I wanted to look closer at this but you reacted faster, nice! |
This is a simple implementation of the feature request created by @yakir12 in #29309 after discussing it on https://discourse.julialang.org/t/readdir-return-full-path/15274?u=yakir12