Weird std.path API?

H. S. Teoh hsteoh at qfbox.info
Sun Jul 7 14:50:30 UTC 2024


On Sun, Jul 07, 2024 at 02:41:31PM +0000, Andrey Zherikov via Digitalmars-d-learn wrote:
> Seems different functions in std.path do not work together:
> ```d
> import std.path;
> 
> // Error: no property `asNormaliedPath` for
> `dirName("/sandbox/onlineapp.d")` of type `string`
> auto p = __FILE_FULL_PATH__.dirName.asNormaliedPath;
> ```
> 
> Is this known thing or I'm doing something wrong?

Isn't it supposed to be spelled .asNormalizedPath?


T

-- 
IBM = I Blame Microsoft


More information about the Digitalmars-d-learn mailing list