Function iterateDirectory

Enumerates all files in the specified directory.

Prototypes

void listDirectory(
  Path path,
  scope bool delegate(FileInfo info) del
);

void listDirectory(
  string path,
  scope bool delegate(FileInfo info) del
);

int delegate(scope int delegate(ref FileInfo)) iterateDirectory(
  Path path
);

int delegate(scope int delegate(ref FileInfo)) iterateDirectory(
  string path
);

Authors

Sönke Ludwig

Copyright

© 2012 RejectedSoftware e.K.

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.