mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-13 19:33:13 +01:00
Initial commit after moving to Tango instead of Phobos. Lots of bugfixes... This build is not suitable for most things.
14 lines
334 B
D
14 lines
334 B
D
/*****************************************************
|
|
|
|
How to create a path with all ancestors
|
|
|
|
*****************************************************/
|
|
|
|
import tango.io.FilePath;
|
|
|
|
void main (char[][] args)
|
|
{
|
|
auto path = new FilePath (r"d/tango/foo/bar/wumpus");
|
|
assert (path.create.exists && path.isFolder);
|
|
}
|