Vfs
Object Hierarchy:
Description:
[ CCode ( type_id = "g_vfs_get_type ()" ) ]
public class Vfs : Object
Entry point for using GIO functionality.
Content:
Static methods:
Creation methods:
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)
- public virtual File get_file_for_uri (string 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
and parse_name_func
as
the File URI and parse name lookup functions for URIs with a scheme matching
scheme
.
- public bool unregister_uri_scheme (string scheme)
Inherited Members:
All known members inherited from class GLib.Object
- @get
- @new
- @ref
- @set
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- force_floating
- freeze_notify
- get_class
- get_data
- get_property
- get_qdata
- get_type
- getv
- interface_find_property
- interface_install_property
- interface_list_properties
- is_floating
- new_valist
- new_with_properties
- newv
- notify
- notify_property
- ref_count
- ref_sink
- remove_toggle_ref
- remove_weak_pointer
- replace_data
- replace_qdata
- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- set_valist
- setv
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref