-
-
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
file/directory functions #560
Comments
stat and glob have structures. stat particularly varies by OS, so it's hard to completely cover this abstraction purely with dl* and hacks to map the internal structure to well defined types. Do we want to wait for that clang header stuff before doing this, or add some C code to handle these cases? I too found myself wanting a stat(2) interface. |
There are a bunch of functions in file.jl and stat.jl. Some of the file functions should probably be changed to use stat, and duplicates should be removed. @johnmyleswhite why does |
It's not sane. That's a complete mistake. I just copied those definitions straight from the code I had used to hack up a system to download a "package" from GitHub; the files sometimes lost that extension during the process, so it would add the extension back manually. |
I have another complaint: there should be a more consistent naming scheme. For example we have both |
Hmm. This may be true, but we generally follow English readability order in Julia naming... |
The names I added (e.g. path_expand) came from R. I don't particularly like them and would be very happy to see them replaced with names that are closer to English word order. -- John On Aug 2, 2012, at 10:44 AM, Stefan Karpinski wrote:
|
Naming involves several factors. Most of the names we have now are reasonably standard in one way or another, and our multi-word names generally do not form "families" of functions. For example |
i think we have this now. it's probably better to open new issues for specific requests (such as |
Julia needs at least some of the usual file/directory manipulation functions. Something like
stat
, for sure, as well asreaddir
, maybeglob
.Also, this is a bug:
The text was updated successfully, but these errors were encountered: