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.

struct FS
static
int
list
(
cstring folder
,
scope int delegate
()
dg
,
bool all = false
)

Meta