deleteFile(file_path, [move_to_trash])

Class: SwingUI.

Description:

Deletes a file or moves it to trash synchronously.

Parameters:

Name Type Default Description

file_path

string

Path to the file to delete

[move_to_trash]

boolean

false

Move file to trash instead of completely deleting it.

Returns:

Type: boolean