dirEntries: How get "." and ".."?
kdevel
kdevel at vogtner.de
Sun Jan 10 22:15:33 UTC 2021
On Sunday, 10 January 2021 at 20:39:56 UTC, Anonymouse wrote:
> 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.
IMHO the application programmer/software engineer needs no such
protection. [sarcasm deleted]
> Don't you already know "." as the path you passed to dirEntries?
I don't know the change date, the uid/gid etc.
> What exactly are you trying to do?
I am refactoring a Filebrowser.
More information about the Digitalmars-d-learn
mailing list