Class

GioVfs

Description

class Gio.Vfs : GObject.Object {
  parent_instance: GObject
}

Entry point for using GIO functionality.

Ancestors

Functions

g_vfs_get_default

Gets the default GVfs for the system.

g_vfs_get_local

Gets the local GVfs for the system.

Instance methods

g_vfs_get_file_for_path

Gets a GFile for path.

g_vfs_get_file_for_uri

Gets a GFile for uri.

g_vfs_get_supported_uri_schemes

Gets a list of URI schemes supported by vfs.

g_vfs_is_active

Checks if the VFS is active.

g_vfs_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 GVfs module.

g_vfs_register_uri_scheme

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.

since: 2.50

g_vfs_unregister_uri_scheme

Unregisters the URI handler for scheme previously registered with g_vfs_register_uri_scheme().

since: 2.50

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Signals

Signals inherited from GObject (1)
GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Class structure

struct GioVfsClass {
  GObjectClass parent_class;
  gboolean (* is_active) (
    GVfs* vfs
  );
  GFile* (* get_file_for_path) (
    GVfs* vfs,
    const char* path
  );
  GFile* (* get_file_for_uri) (
    GVfs* vfs,
    const char* uri
  );
  const gchar* const* (* get_supported_uri_schemes) (
    GVfs* vfs
  );
  GFile* (* parse_name) (
    GVfs* vfs,
    const char* parse_name
  );
  void (* local_file_add_info) (
    GVfs* vfs,
    const char* filename,
    guint64 device,
    GFileAttributeMatcher* attribute_matcher,
    GFileInfo* info,
    GCancellable* cancellable,
    gpointer* extra_data,
    GDestroyNotify* free_extra_data
  );
  void (* add_writable_namespaces) (
    GVfs* vfs,
    GFileAttributeInfoList* list
  );
  gboolean (* local_file_set_attributes) (
    GVfs* vfs,
    const char* filename,
    GFileInfo* info,
    GFileQueryInfoFlags flags,
    GCancellable* cancellable,
    GError** error
  );
  void (* local_file_removed) (
    GVfs* vfs,
    const char* filename
  );
  void (* local_file_moved) (
    GVfs* vfs,
    const char* source,
    const char* dest
  );
  GIcon* (* deserialize_icon) (
    GVfs* vfs,
    GVariant* value
  );
  void (* _g_reserved1) (
void
  );
  void (* _g_reserved2) (
void
  );
  void (* _g_reserved3) (
void
  );
  void (* _g_reserved4) (
void
  );
  void (* _g_reserved5) (
void
  );
  void (* _g_reserved6) (
void
  );
  
}
No description available.
Class members
parent_class: GObjectClass
No description available.
is_active: gboolean (* is_active) ( GVfs* vfs )
No description available.
get_file_for_path: GFile* (* get_file_for_path) ( GVfs* vfs, const char* path )
No description available.
get_file_for_uri: GFile* (* get_file_for_uri) ( GVfs* vfs, const char* uri )
No description available.
get_supported_uri_schemes: const gchar* const* (* get_supported_uri_schemes) ( GVfs* vfs )
No description available.
parse_name: GFile* (* parse_name) ( GVfs* vfs, const char* parse_name )
No description available.
local_file_add_info: void (* local_file_add_info) ( GVfs* vfs, const char* filename, guint64 device, GFileAttributeMatcher* attribute_matcher, GFileInfo* info, GCancellable* cancellable, gpointer* extra_data, GDestroyNotify* free_extra_data )
No description available.
add_writable_namespaces: void (* add_writable_namespaces) ( GVfs* vfs, GFileAttributeInfoList* list )
No description available.
local_file_set_attributes: gboolean (* local_file_set_attributes) ( GVfs* vfs, const char* filename, GFileInfo* info, GFileQueryInfoFlags flags, GCancellable* cancellable, GError** error )
No description available.
local_file_removed: void (* local_file_removed) ( GVfs* vfs, const char* filename )
No description available.
local_file_moved: void (* local_file_moved) ( GVfs* vfs, const char* source, const char* dest )
No description available.
deserialize_icon: GIcon* (* deserialize_icon) ( GVfs* vfs, GVariant* value )
No description available.
_g_reserved1: void (* _g_reserved1) ( void )
No description available.
_g_reserved2: void (* _g_reserved2) ( void )
No description available.
_g_reserved3: void (* _g_reserved3) ( void )
No description available.
_g_reserved4: void (* _g_reserved4) ( void )
No description available.
_g_reserved5: void (* _g_reserved5) ( void )
No description available.
_g_reserved6: void (* _g_reserved6) ( void )
No description available.

Virtual methods

Gio.VfsClass.add_writable_namespaces
No description available.

Gio.VfsClass.deserialize_icon
No description available.

Gio.VfsClass.get_file_for_path

Gets a GFile for path.

Gio.VfsClass.get_file_for_uri

Gets a GFile for uri.

Gio.VfsClass.get_supported_uri_schemes

Gets a list of URI schemes supported by vfs.

Gio.VfsClass.is_active

Checks if the VFS is active.

Gio.VfsClass.local_file_add_info
No description available.

Gio.VfsClass.local_file_moved
No description available.

Gio.VfsClass.local_file_removed
No description available.

Gio.VfsClass.local_file_set_attributes
No description available.

Gio.VfsClass.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 GVfs module.