FileInfo.getName

Gets the name for a file. This is guaranteed to always be set.

It is an error to call this if the #GFileInfo does not contain G_FILE_ATTRIBUTE_STANDARD_NAME.

class FileInfo
string
getName
()

Return Value

Type: string

a string containing the file name.