listDirectory
- void listDirectory(NativePath path, DirectoryListMode mode, bool delegate(FileInfo info) @(safe) del, bool function(ref const FileInfo) @(safe) nothrow directory_predicate)
- void listDirectory(string path, DirectoryListMode mode, bool delegate(FileInfo info) @(safe) del)
- void listDirectory(NativePath path, bool delegate(FileInfo info) @(safe) del)
- void listDirectory(string path, bool delegate(FileInfo info) @(safe) del)
- void listDirectory(NativePath path, DirectoryListMode mode, bool delegate(FileInfo info) @(system) del, bool function(ref const FileInfo) @(safe) nothrow directory_predicate)
- void listDirectory(string path, DirectoryListMode mode, bool delegate(FileInfo info) @(system) del)
- void listDirectory(NativePath path, bool delegate(FileInfo info) @(system) del)
- void listDirectory(string path, bool delegate(FileInfo info) @(system) del)
@safe @system
void
listDirectory
(,scope bool delegate @system del )
- path string
- del bool delegate @system
vibe core file
aliasesenumsfunctionsmanifest constantsmixinsstructs
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.