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

uria string containing a URI

Returns

a #GFile.

Free the returned object with [gobject.object.ObjectWrap.unref].