Why doesn't std.file.exists follow symbolic links?
Vladimir Panteleev
thecybershadow.lists at gmail.com
Fri Jul 2 14:44:55 UTC 2021
On Friday, 2 July 2021 at 12:09:20 UTC, Jack Applegame wrote:
> In other languages (including C++) similar functions follow
> symbolic links.
To try to answer the "why":
https://github.com/dlang/phobos/pull/1142
Looks like eight years ago I thought that not using lstat would
somehow break code in that circumstance, but it's difficult to
figure out the details given that the sands of time have eroded
the previous iterations of that pull request.
More information about the Digitalmars-d
mailing list