Eager dirEntries

Andrej Mitrovic andrej.mitrovich at gmail.com
Mon Mar 21 16:29:15 PDT 2011


Well anywho I've wrapped it in my code:

string[] arrayDirEntries(string path, SpanMode spanMode)
{
    string[] result;
    foreach (string name; dirEntries(path, spanMode))
    {
        result ~= name;
    }
    return result;
}


More information about the Digitalmars-d-learn mailing list