File.getPath

string getPath()

Gets the local pathname for #GFile, if one exists. If non-null, this is guaranteed to be an absolute, canonical path. It might contain symlinks.

This call does no blocking I/O.

Returns

string containing the #GFile's path,

or null if no such path exists. The returned string should be freed with [glib.global.gfree] when no longer needed.