Gio.File.prototype.get_path

function get_path(): String {
    // Gjs wrapper for g_file_get_path()
}
  

Gets the local pathname for Gio.File, if one exists.

This call does no blocking I/O.

Returns

string containing the Gio.File's path, or null if no such path exists. The returned string should be freed with GLib.free when no longer needed.