listDirectory

List directory content

Optionally filters file names by filter (not applied to directories).

Result will be placed into entries array.

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

  1. DirEntry[] listDirectory(string dir, AttrFilter attrFilter, string[] filters)
  2. bool listDirectory(string dir, bool includeDirs, bool includeFiles, bool showHiddenFiles, string[] filters, DirEntry[] entries, bool showExecutables)
    deprecated
    bool
    listDirectory
    (
    in string dir
    ,
    in bool includeDirs
    ,
    in bool includeFiles
    ,,
    in string[] filters
    ,
    ref DirEntry[] entries
    ,
    in bool showExecutables = false
    )

Meta