auto clogClean (string LogDir ) { Array!(Tuple!(string, SysTime)) dFiles;dFiles.insert(dirEntries(LogDir, SpanMode.shallow).filter!(a => a.isFile).map!(a => tuple(a.name, a.timeLastModified)));
return dFiles; }
Kagamin via Digitalmars-d-learn Fri, 04 May 2018 11:55:48 -0700
auto clogClean (string LogDir ) { Array!(Tuple!(string, SysTime)) dFiles;dFiles.insert(dirEntries(LogDir, SpanMode.shallow).filter!(a => a.isFile).map!(a => tuple(a.name, a.timeLastModified)));
return dFiles; }