getDirLength

open fun getDirLength(dirPath: String): Long

Return the length of directory.

Return

the length of directory

Parameters

dirPath

The path of directory.

open fun getDirLength(dir: File): Long

Return the length of directory.

Return

the length of directory

Parameters

dir

The directory.