Function listDirectory

List directory content

Optionally filters file names by filter.

Result will be placed into entries array.

Returns true if directory exists and listed successfully, false otherwise.

Prototype

bool listDirectory(
  string dir,
  bool includeDirs,
  bool includeFiles,
  bool showHiddenFiles,
  string[] filters,
  ref std.file.DirEntry[] entries
);

Authors

Vadim Lopatin, coolreader.org@gmail.com

Copyright

Vadim Lopatin, 2014

License

Boost License 1.0