Mercurial > projects > ldc
comparison tango/example/conduits/paths.d @ 132:1700239cab2e trunk
[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.
author | lindquist |
---|---|
date | Fri, 11 Jan 2008 17:57:40 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
131:5825d48b27d1 | 132:1700239cab2e |
---|---|
1 /***************************************************** | |
2 | |
3 How to create a path with all ancestors | |
4 | |
5 *****************************************************/ | |
6 | |
7 import tango.io.FilePath; | |
8 | |
9 void main (char[][] args) | |
10 { | |
11 auto path = new FilePath (r"d/tango/foo/bar/wumpus"); | |
12 assert (path.create.exists && path.isFolder); | |
13 } |