dirEntries returns relative, not absolute paths

Timothee Cour thelastmammoth at gmail.com
Tue Feb 6 21:45:52 UTC 2018


https://github.com/dlang/phobos/pull/6133

On Tue, Feb 6, 2018 at 1:40 PM, Jonathan M Davis via
Digitalmars-d-learn <digitalmars-d-learn at puremagic.com> wrote:
> On Tuesday, February 06, 2018 18:58:43 number via Digitalmars-d-learn wrote:
>> https://dlang.org/phobos/std_file.html#dirEntries
>>
>> >> The name of each iterated directory entry contains the
>> >> absolute path.
>>
>> it seems to be absolute only if the specified path is absolute,
>> or always relative to the parent dir of the specified path.
>
> Then the docs need to be fixed.
>
> - Jonathan M Davis
>


More information about the Digitalmars-d-learn mailing list