getDirSize

open fun getDirSize(dirPath: String): String

Return the size of directory.

Return

the size of directory

Parameters

dirPath

The path of directory.

open fun getDirSize(dir: File): String

Return the size of directory.

Return

the size of directory

Parameters

dir

The directory.