listDir

Fast templated directory iterator

template listDir(alias handler)
void
listDir
(
Path
)
(
Path dirPath
)
if (
isPath!Path
)

Members

Functions

listDir
void listDir(Path dirPath)
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

Entry
struct Entry

A pointer to this type will be passed to the listDir predicate.

Examples

   string[] entries;
   listDir!((e) {
	   entries ~= e.fullName.relPath(tmpDir);
	   if (e.entryIsDir)
		   e.recurse();
   })(tmpDir);

Meta