Set file times

Wyverex wyverex.cypher at gmail.com
Tue Aug 12 18:17:09 PDT 2008


sleek wrote:
> I'm trying to set (at the very least) the modified time of a file on my file 
> system. Right now, I need to do this in Windows, but I can imagine the need 
> in other OS's later on.
> 
> I know there is not a way to do this in Tango right now, and I have 
> submitted a request for inclusion. However, is there another D library out 
> there that might actually allow me to do this? 
> 
> 
HAHA  i guess stat is in phobos

version(Windows)
	import std.c.windows.stat;
else
	import std.c.linux.linux;


More information about the Digitalmars-d-learn mailing list