The returned string should be freed with [glib.global.gfree] when no longer needed.
File.getParseName
string getParseName()Gets the parse name of the file. A parse name is a UTF-8 string that describes the file such that one can get the #GFile back using [gio.file.File.parseName].
This is generally used to show the #GFile as a nice full-pathname kind of string in a user interface, like in a location entry.
For local files with names that can safely be converted to UTF-8 the pathname is used, otherwise the IRI is used (a form of URI that allows UTF-8 characters unescaped).
This call does no blocking I/O.
Returns
a string containing the #GFile's parse name.