[phobos] Feature request: new method for std.file.DirEntry

Peter Williams pwil3058 at bigpond.net.au
Tue Jan 8 13:38:11 PST 2013


On 08/01/13 20:04, Lars Tandle Kyllingstad wrote:
> On 08/01/2013 08:02, Peter Williams wrote:
>> In the meantime are lstat, stat etc accessible via any of the libraries
>> in phobos or do I have to do it the hard way?
>
> Prototypes for the entire POSIX API are provided in druntime, in the
> core.sys.posix package.  I believe core.sys.posix.sys.stat is the module
> you are looking for in this case.
>
> Lars
> _______________________________________________
> phobos mailing list
> phobos at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/phobos

Thanks. That's exactly what I need.
Peter
PS I couldn't see reference to these in the library documentation which 
is why I asked.  Seems that there's a fair bit of good stuff hidden away 
in the libraries which is hard to find.


More information about the phobos mailing list