gio.vfs

Module for [Vfs] class

Types 3

Entry point for using GIO functionality.

Methods
GType _gType() @property
Vfs self()Returns `this`, for use in `with` statements.
VfsGidBuilder builder()Get builder for [gio.vfs.Vfs] Returns: New builder object
gio.vfs.Vfs getDefault()Gets the default #GVfs for the system. Returns: a #GVfs, which will be the local file system #GVfs if no other implementation is available.
gio.vfs.Vfs getLocal()Gets the local #GVfs for the system. Returns: a #GVfs.
gio.file.File getFileForPath(string path)Gets a #GFile for path.
gio.file.File getFileForUri(string uri)Gets a #GFile for uri.
string[] getSupportedUriSchemes()Gets a list of URI schemes supported by vfs. Returns: a null-terminated array of strings. The returned array belongs to GIO and must not be freed or modified.
bool isActive()Checks if the VFS is active. Returns: true if construction of the vfs was successful and it is now active.
gio.file.File parseName(string parseName)This operation never fails, but the returned object might not support any I/O operations if the parse_name cannot be parsed by the #GVfs module.
bool registerUriScheme(string scheme, gio.types.VfsFileLookupFunc uriFunc = null, gio.types.VfsFileLookupFunc parseNameFunc = null)Registers urifunc and parsename_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...
bool unregisterUriScheme(string scheme)Unregisters the URI handler for scheme previously registered with [gio.vfs.Vfs.registerUriScheme].
Constructors
this(void * ptr, Flag!"Take" take)

Fluent builder for [gio.vfs.Vfs]

Methods