https://issues.dlang.org/show_bug.cgi?id=6147

AndyC <a...@squeakycode.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |a...@squeakycode.net
         Resolution|---                         |FIXED

--- Comment #1 from AndyC <a...@squeakycode.net> ---
This question isn't very specific, I'm not sure what's being asked for.

"file scheme uri" sound like:  file://c:\bob.txt --> c:\bob.txt

but the comment says "have to inverse slashes", which sounds like:  c:\bob.txt
--> c:/bob.txt

First, windows, in most operations can use either slash.
auto f = File("c:\bob.txt")
auto f = File("c:/bob.txt")

should both work.

Second, there is std.path.buildNormalizedPath, and the doc for std.path
documents several other spots where different slashes are respected.

I'm guessing that was commit here:

https://github.com/D-Programming-Language/phobos/commit/6364506918446fb62816f92ac621a71bff88dbdf?diff=unified

I'm gonna close this, but please re-open if I've misunderstood the question. 
(And maybe you could post some samples of what you're looking for)

--

Reply via email to