deleteDir

open fun deleteDir(dirPath: String): Boolean

Delete the directory.

Return

{@code true}: success{@code false}: fail

Parameters

dirPath

The path of directory.

open fun deleteDir(dir: File): Boolean

Delete the directory.

Return

{@code true}: success{@code false}: fail

Parameters

dir

The directory.