GLib.filename_from_uri
function filename_from_uri(uri: String): [return_value: String, hostname: String] { // Gjs wrapper for g_filename_from_uri() }
Converts an escaped ASCII-encoded URI to a local filename in the encoding used for filenames.
- uri
a uri describing a filename (escaped, encoded in ASCII).
- return_value
a newly-allocated string holding the resulting filename, or null on an error.
- hostname
Location to store hostname for the URI, or null. If there is no hostname in the URI, null will be stored in this location.