listDirectory

Enumerates all files in the specified directory.

Note that unless an explicit mode is given, DirectoryMode.shallow is the default and only items directly contained in the specified folder will be returned.

Parameters

path string

Path to the (root) folder to list

mode DirectoryListMode

Defines how files and sub directories are treated during the enumeration

del bool delegate @safe

Callback to invoke for each directory entry

Meta