deleteDirectory

fun deleteDirectory(pathToDir: Path): Boolean


fun deleteDirectory(directoryToBeDeleted: File): Boolean

Recursively deletes

Return

true if deleted

Parameters

directoryToBeDeleted

the file reference to the directory to delete