FileInfo.getName

string 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 gio.types.FILE_ATTRIBUTE_STANDARD_NAME.

Returns

a string containing the file name.