klyn.io.FolderPath.listNames
method
public listNames() as ArrayList<String>:
Description

Lists direct child names.

Returns

Names only (no parent path prefix).

Throws
  • IOException if the directory cannot be enumerated.
Example
import klyn.io

for name in Path.userHome.listNames():
print(name)