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
{{ message }}
Repository navigation
path.relative behavior inconsistent on case insensitive file system. #18406
/Users/matt/test/dest/dir/file.json is correct. So the case is effecting the result and I would expect the result to be the same on a case insensitive file system.
This is a duplicate of several other reports. To summarize: it's working as expected, it's not a bug.
The path module doesn't perform I/O, it manipulates strings. It doesn't know about case (in)sensitivity because that is a property of the file system. It can't know about it either because that would rule out the possibility of constructing paths that don't already exist.
Activity
bnoordhuis commentedon Jan 27, 2018
This is a duplicate of several other reports. To summarize: it's working as expected, it's not a bug.
The
pathmodule doesn't perform I/O, it manipulates strings. It doesn't know about case (in)sensitivity because that is a property of the file system. It can't know about it either because that would rule out the possibility of constructing paths that don't already exist.mattrenaud commentedon Jan 27, 2018
Ok thanks