forked from JuliaLang/julia
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
internal cleanup: excise is_file_readable.
This was an awful, ancient function. This is exactly what the isreadable(path) function does, so there's no need for this. Also, in most of the places we were calling it, skipping over files that exist but are not readable is unhelpful – it would be better to fail and let the user know that a file that was in the lookup path and *should* be readable isn't. Arguably, we should even weaken the test to just `ispath` and fail if the thing exists but is not a regular file and is, say, a directory unexpectedly.
- Loading branch information
1 parent
e5e0d23
commit 398682a
Showing
4 changed files
with
10 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters