Vfs
Entry point for using GIO functionality.
Constructors
Functions
Link copied to clipboard
Gets a #GFile for @path.
Link copied to clipboard
Gets a #GFile for @uri.
Link copied to clipboard
Gets a list of URI schemes supported by @vfs.
Link copied to clipboard
open fun registerUriScheme(scheme: String, uriFunc: VfsFileLookupFunc?, parseNameFunc: VfsFileLookupFunc?): Boolean
Registers @uri_func and @parse_name_func as the #GFile URI and parse name lookup functions for URIs with a scheme matching @scheme. Note that @scheme is registered only within the running application, as opposed to desktop-wide as it happens with GVfs backends.
Link copied to clipboard
Unregisters the URI handler for @scheme previously registered with g_vfs_register_uri_scheme().