Path as an object in std.path

Vladimir Panteleev vladimir at thecybershadow.net
Wed Jun 5 15:06:50 PDT 2013


On Wednesday, 5 June 2013 at 06:27:46 UTC, Dylan Knutson wrote:
> Hello,
> I'd like to open up the idea of Path being an object in 
> std.path. I've submitted a pull 
> (https://github.com/D-Programming-Language/phobos/pull/1333) 
> that adds a Path struct to std.path, "which exposes a much more 
> palatable interface to path string manipulation".

For the record, there are some existing D path object 
implementations:

* Tango's FilePath class:
   
https://github.com/SiegeLord/Tango-D2/blob/d2port/tango/io/FilePath.d

* Vibe's Path struct:
   
https://github.com/rejectedsoftware/vibe.d/blob/master/source/vibe/inet/path.d


More information about the Digitalmars-d mailing list