You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
function Base.isfile_casesensitive(path)
Base.isaccessiblefile(path) ||returnfalse# Fail fast
name =basename(path)
tryfor entry in Base.Filesystem._readdirx(dirname(path), sort =false)
entry.name == name &&returntrueendcatch err
isa(err, Base.IOError) ||rethrow()
endreturnfalseend
An internal function
isfile_casesensitive()
uses Win32APIGetLongPathNameW
on Windows.julia/base/loading.jl
Lines 11 to 16 in 222231f
However, the API may not be able to handle non-existent directories.
This problem can also be reproduced on Julia v1.6.7.
Perhaps `normpath()' would mitigate this problem.
Incidentally, parent directories of non-existent directories seem to be invalid on Linux from the beginning.
The text was updated successfully, but these errors were encountered: