Free the returned object with [gobject.object.ObjectWrap.unref].
Vfs.getFileForUri
gio.file.File getFileForUri(string uri)Gets a #GFile 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.
Parameters
uri | a string containing a URI |
Returns
a #GFile.