digitalmars.D.learn - Remove dir contents?
- Andrej Mitrovic (4/4) Apr 05 2012 There's rmdirRecurse in std.file, but it removes the folder itself as
There's rmdirRecurse in std.file, but it removes the folder itself as well as its contents. I'm looking for a function that removes only the contents of the dir. Is this in Phobos, and if not can we add it? Otherwise I have to use platform-specific calls to system() like "del *.*".
Apr 05 2012