view tango/example/conduits/paths.d @ 373:d1574e142e93 trunk

[svn r394] Fixed the new DtoNullValue function
author lindquist
date Tue, 15 Jul 2008 15:16:56 +0200
parents 1700239cab2e
children
line wrap: on
line source

/*****************************************************

        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);
}