On Friday, November 30, 2012 01:24:07 Dan wrote: > Is there a way to walk files with std.file.dirEntries such that > certain directories are skipped (i.e. how to avoid .git > entirely/recursively)?
You can use std.algorithm.filter on its result. Then when it would iterate to something which doesn't match filter's predicate, it skips it. - Jonathan M Davis