Proposal for std.path replacement

Jerry Quinn jlquinn at optonline.net
Thu Mar 3 10:31:20 PST 2011


Lars T. Kyllingstad Wrote:

> As mentioned in the "std.path.getName(): Screwy by design?" thread, I 
> started working on a rewrite of std.path a long time ago, but I got 
> sidetracked by other things.  The recent discussion got me working on it 
> again, and it turned out there wasn't that much left to be done.
> 
> So here it is, please comment:
> 
>     http://kyllingen.net/code/ltk/doc/path.html
>     https://github.com/kyllingstad/ltk/blob/master/ltk/path.d

Rather than:

drive() & stripDrive()
extension() & stripExtension()

would it make sense to combine them?

string[2] splitDrive(path)
string[2] splitExtension(path)

Just a thought.

Jerry




More information about the Digitalmars-d mailing list