Vfs.getFileForUri

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.

class Vfs
getFileForUri
(
string uri
)

Parameters

uri string

a string containing a URI

Return Value

Type: FileIF

a #GFile. Free the returned object with g_object_unref().

Meta