FileSystem.deleteDir

Delete a directory and its contents, recursively.

class FileSystem
bool
deleteDir
(
string path
)

Parameters

path string

The paths of the directory.

Return Value

Type: bool

true on success, false if there was an error.