dirEntries: How get "." and ".."?

Anonymouse zorael at gmail.com
Sun Jan 10 20:39:56 UTC 2021


On Saturday, 9 January 2021 at 18:44:10 UTC, kdevel wrote:
> There seems to be no switch to disable the skip of "."  and 
> "..".
> So the original position of these dir entries is lost. ☹

I imagine dirEntries returning an entry for ".." would make for a 
lot of confusion.

Don't you already know "." as the path you passed to dirEntries? 
What exactly are you trying to do?


More information about the Digitalmars-d-learn mailing list