getDirName

open fun getDirName(file: File): String

Return the file's path of directory.

Return

the file's path of directory

Parameters

file

The file.

open fun getDirName(filePath: String): String

Return the file's path of directory.

Return

the file's path of directory

Parameters

filePath

The path of file.