std.path.buildPath

Jacob Carlborg via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun Jun 4 08:56:58 PDT 2017


On 2017-06-04 07:44, Jesse Phillips wrote:

> What is your expected behavior? Throw an exception? You can't really
> append an absolute path to another.

Of course you can. I expect buildPath("/foo", "/bar") to result in 
"/foo/bar". That's how Ruby behaves.

-- 
/Jacob Carlborg


More information about the Digitalmars-d-learn mailing list