Gio.File.prototype.get_uri

function get_uri(): String {
    // Gjs wrapper for g_file_get_uri()
}
  

Gets the URI for the file.

This call does no blocking I/O.

Returns

a string containing the Gio.File's URI. The returned string should be freed with GLib.free when no longer needed.