deleteDirectory(dir_path, [recursive], [move_to_trash])

Class: SwingUI.

Description:

Deletes a directory synchronously.

Parameters:

Name Type Default Description

dir_path

string

Path to the directory to delete

[recursive]

boolean

false

Delete directory and its contents. (only has effect if move_to_trash parameter is false.

[move_to_trash]

boolean

false

Move file to trash instead of completely deleting it.

Returns:

Type: boolean