Has anybody written a D library similar to Boost.Filesystem providing iterators/ranges that can do for example file system directory tree traversal?
Asked
Active
Viewed 145 times
1 Answers
9
dirEntries
from std.file
returns a range that enumerates files and directories, optionally under subdirectories as well.

Vladimir Panteleev
- 24,651
- 6
- 70
- 114
-
Great! BTW: Interesting that the return value is auto! Is there some useful deduction/reduction of return type here? – Nordlöw Mar 08 '13 at 08:19
-
1It's just a `DirIterator`, but it's more of an implementation detail as the type is not documented. – Vladimir Panteleev Mar 08 '13 at 08:32