listDirectory(dir_path)
Class: SwingUI.
Description:
Reads the contents of a directory synchronously and returns an Array of files and directories.
Parameters:
| Name | Type | Description |
|---|---|---|
|
|
string |
Path to the directory to read |
Returns:
- Returns an Array of filenames/directory names in the directory.
Type: Array.<string>
