digitalmars.D.bugs - std.file listdir() should be able to list without recursion.
- Steve Teale (7/7) Jul 07 2007 Need listthisdir() or similar. It's quite common to put received files ...
Need listthisdir() or similar. It's quite common to put received files that
have been processed correctly in a subdirectory called 'newfiles\ok', and those
that failed in 'newfiles\error', and in that case you often don't want to know
about files currently in the subdirectories.
char[][] listdir(char[] path, filter x) { return listdir(path, x, true); }
char[][] listthisdir(char[] path, filter x) { return listdir(path, x, false); }
char[][] listdir(char[] path, filter x, bool recurse)
{
...
}
Jul 07 2007








Steve Teale <steve.teale britseyeview.com>