Next in Review Queue: The New std.path

Lars T. Kyllingstad public at kyllingen.NOSPAMnet
Fri Jul 15 08:55:58 PDT 2011


On Fri, 15 Jul 2011 17:15:25 +0300, Vladimir Panteleev wrote:

> On Fri, 15 Jul 2011 03:20:13 +0300, dsimcha <dsimcha at yahoo.com> wrote:
> 
>> Lars Kyllingstad's new and improved std.path module for Phobos is the
>> next item up in the review queue.
> 
> Three notes:
> 1. No tests for extension("foo") is null && extension("foo.") !is null
> 2. absolutePath's signature could be changed to string
> absolutePath(string path, string base = getcwd()) for more flexibility
> at no penalty 3. Would be nice to have relativePath(path, base) to
> complement absolutePath().

1. I'll fix.
2. Good idea!
3. There are infinitely many possibilities for a relative path, and I 
don't know how useful this function will be.  Please convince me 
otherwise. :)

-lars


More information about the Digitalmars-d mailing list