deleteAllInDir

open fun deleteAllInDir(dirPath: String): Boolean

Delete the all in directory.

Return

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

Parameters

dirPath

The path of directory.

open fun deleteAllInDir(dir: File): Boolean

Delete the all in directory.

Return

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

Parameters

dir

The directory.