Vfs
Object Hierarchy:
Description:
Entry point for using GIO functionality.
Namespace: GLib
Package: gio-2.0
Content:
Static methods:
- public static unowned Vfs get_default ()
Gets the default Vfs for the system.
- public static unowned Vfs get_local ()
Gets the local Vfs for the system.
Creation methods:
- protected Vfs ()
Methods:
- public virtual void add_writable_namespaces (FileAttributeInfoList list)
- public virtual Icon deserialize_icon (Variant value)
- public virtual File get_file_for_path (string path)
Gets a File for
path
. - public virtual File get_file_for_uri (string uri)
Gets a File for
uri
. - public virtual unowned string[] get_supported_uri_schemes ()
Gets a list of URI schemes supported by this .
- public virtual bool is_active ()
Checks if the VFS is active.
- public virtual void local_file_add_info (string filename, uint64 device, FileAttributeMatcher attribute_matcher, FileInfo info, Cancellable? cancellable = null, void* extra_data = null, DestroyNotify? free_extra_data = null)
- public virtual void local_file_moved (string source, string dest)
- public virtual void local_file_removed (string filename)
- public virtual bool local_file_set_attributes (string filename, FileInfo info, FileQueryInfoFlags flags, Cancellable? cancellable = null) throws Error
- public virtual File parse_name (string parse_name)
This operation never fails, but the returned object might not support any I/O operations if the
parse_name
cannot be parsed by the Vfs module. - public bool register_uri_scheme (string scheme, owned VfsFileLookupFunc? uri_func, owned VfsFileLookupFunc? parse_name_func)
Registers
uri_func
andparse_name_func
as the File URI and parse name lookup functions for URIs with a scheme matchingscheme
. - public bool unregister_uri_scheme (string scheme)
Unregisters the URI handler for
scheme
previously registered with register_uri_scheme.
Inherited Members:
All known members inherited from class GLib.Object