DirectoryList.setFile

void setFile(gio.file.File file = null)

Sets the file to be enumerated and starts the enumeration.

If file is null, the result will be an empty list.

Parameters

filethe [gio.file.File] to be enumerated