deleteFilesInDir

open fun deleteFilesInDir(dirPath: String): Boolean

Delete all files in directory.

Return

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

Parameters

dirPath

The path of directory.

open fun deleteFilesInDir(dir: File): Boolean

Delete all files in directory.

Return

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

Parameters

dir

The directory.