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

dir_path

string

Path to the directory to read

Returns:

Type: Array.<string>