[svn r136] MAJOR UNSTABLE UPDATE!!!

Initial commit after moving to Tango instead of Phobos.

Lots of bugfixes...

This build is not suitable for most things.
This commit is contained in:
Tomas Lindquist Olsen
2008-01-11 17:57:40 +01:00
parent bc08c6fcb1
commit b15b3484c8
524 changed files with 270705 additions and 175 deletions

View File

@@ -0,0 +1,26 @@
/*****************************************************
Example that shows some simple file operations
Put into public domain by Lars Ivar Igesund
*****************************************************/
import tango.io.Stdout;
import tango.io.FilePath;
void main (char[][] args)
{
auto src = args[0] ~ ".d";
auto dst = new FilePath (args[0] ~ ".d.copy");
Stdout.formatln ("copy file {} to {}", src, dst);
dst.copy (src);
assert (dst.exists);
Stdout.formatln ("removing file {}", dst);
dst.remove;
assert (dst.exists is false);
}