Util.pathGetDirname

Gets the directory components of a file name. If the file name has no directory components "." is returned. The returned string should be freed when no longer needed.

class Util
static
string
pathGetDirname
(
string fileName
)

Parameters

fileName string

the name of the file

Return Value

Type: string

the directory components of the file

Meta