FS.list

List the set of filenames within this folder.

Each path and filename is passed to the provided delegate, along with the path prefix and whether the entry is a folder or not.

Note: Allocates and reuses a small memory buffer.

  1. int list(const(char)[] folder, int delegate(ref FileInfo) dg, bool all)
  2. int list(const(char)[] folder, int delegate(ref FileInfo) dg, bool all)
    struct FS
    version(Posix)
    static
    int
    list
    (
    const(char)[] folder
    ,
    scope int delegate
    ()
    dg
    ,
    bool all = false
    )

Meta