FilePath.toList

List the set of filenames within this folder, using the provided filter to control the list:

bool delegate (FilePath path, bool isFolder) Filter;

Returning true from the filter includes the given path, whilst returning false excludes it. Parameter 'isFolder' indicates whether the path is a file or folder.

Note that paths composed of '.' characters are ignored.

class FilePath
final
toList
(
Filter filter = null
)

Meta