Gio.Vfs::get_file_for_uri

function vfunc_get_file_for_uri(uri: String): Gio.File {
}
  

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.