Gio.Vfs.prototype.get_file_for_uri
function get_file_for_uri(uri: String): Gio.File {
// Gjs wrapper for g_vfs_get_file_for_uri()
}
Gets a Gio.File for uri.
This operation never fails, but the returned object might not support any I/O operation if the URI is malformed or if the URI scheme is not supported.
- uri
a string containing a URI
- Returns
a Gio.File. Free the returned object with GObject.Object.prototype.unref.