Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
gfile.h File Reference
#include <gio/giotypes.h>

Go to the source code of this file.

Data Structures

struct  _GFileIface
 

Macros

#define G_TYPE_FILE   (g_file_get_type ())
 
#define G_FILE(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), G_TYPE_FILE, GFile))
 
#define G_IS_FILE(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), G_TYPE_FILE))
 
#define G_FILE_GET_IFACE(obj)   (G_TYPE_INSTANCE_GET_INTERFACE ((obj), G_TYPE_FILE, GFileIface))
 

Typedefs

typedef struct _GFileIface GFileIface
 

Functions

GIO_AVAILABLE_IN_ALL GType g_file_get_type (void) G_GNUC_CONST
 
GIO_AVAILABLE_IN_ALL GFileg_file_new_for_path (const char *path)
 
GIO_AVAILABLE_IN_ALL GFileg_file_new_for_uri (const char *uri)
 
GIO_AVAILABLE_IN_ALL GFileg_file_new_for_commandline_arg (const char *arg)
 
GIO_AVAILABLE_IN_2_36 GFileg_file_new_for_commandline_arg_and_cwd (const gchar *arg, const gchar *cwd)
 
GIO_AVAILABLE_IN_2_32 GFileg_file_new_tmp (const char *tmpl, GFileIOStream **iostream, GError **error)
 
GIO_AVAILABLE_IN_2_74 void g_file_new_tmp_async (const char *tmpl, int io_priority, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
 
GIO_AVAILABLE_IN_2_74 GFileg_file_new_tmp_finish (GAsyncResult *result, GFileIOStream **iostream, GError **error)
 
GIO_AVAILABLE_IN_2_74 void g_file_new_tmp_dir_async (const char *tmpl, int io_priority, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
 
GIO_AVAILABLE_IN_2_74 GFileg_file_new_tmp_dir_finish (GAsyncResult *result, GError **error)
 
GIO_AVAILABLE_IN_ALL GFileg_file_parse_name (const char *parse_name)
 
GIO_AVAILABLE_IN_2_56 GFileg_file_new_build_filename (const gchar *first_element,...) G_GNUC_NULL_TERMINATED
 
GIO_AVAILABLE_IN_2_78 GFileg_file_new_build_filenamev (const gchar *const *args)
 
GIO_AVAILABLE_IN_ALL GFileg_file_dup (GFile *file)
 
GIO_AVAILABLE_IN_ALL guint g_file_hash (gconstpointer file)
 
GIO_AVAILABLE_IN_ALL gboolean g_file_equal (GFile *file1, GFile *file2)
 
GIO_AVAILABLE_IN_ALL char * g_file_get_basename (GFile *file)
 
GIO_AVAILABLE_IN_ALL char * g_file_get_path (GFile *file)
 
GIO_AVAILABLE_IN_2_56 const char * g_file_peek_path (GFile *file)
 
GIO_AVAILABLE_IN_ALL char * g_file_get_uri (GFile *file)
 
GIO_AVAILABLE_IN_ALL char * g_file_get_parse_name (GFile *file)
 
GIO_AVAILABLE_IN_ALL GFileg_file_get_parent (GFile *file)
 
GIO_AVAILABLE_IN_ALL gboolean g_file_has_parent (GFile *file, GFile *parent)
 
GIO_AVAILABLE_IN_ALL GFileg_file_get_child (GFile *file, const char *name)
 
GIO_AVAILABLE_IN_ALL GFileg_file_get_child_for_display_name (GFile *file, const char *display_name, GError **error)
 
GIO_AVAILABLE_IN_ALL gboolean g_file_has_prefix (GFile *file, GFile *prefix)
 
GIO_AVAILABLE_IN_ALL char * g_file_get_relative_path (GFile *parent, GFile *descendant)
 
GIO_AVAILABLE_IN_ALL GFileg_file_resolve_relative_path (GFile *file, const char *relative_path)
 
GIO_AVAILABLE_IN_ALL gboolean g_file_is_native (GFile *file)
 
GIO_AVAILABLE_IN_ALL gboolean g_file_has_uri_scheme (GFile *file, const char *uri_scheme)
 
GIO_AVAILABLE_IN_ALL char * g_file_get_uri_scheme (GFile *file)
 
GIO_AVAILABLE_IN_ALL GFileInputStreamg_file_read (GFile *file, GCancellable *cancellable, GError **error)
 
GIO_AVAILABLE_IN_ALL void g_file_read_async (GFile *file, int io_priority, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
 
GIO_AVAILABLE_IN_ALL GFileInputStreamg_file_read_finish (GFile *file, GAsyncResult *res, GError **error)
 
GIO_AVAILABLE_IN_ALL GFileOutputStreamg_file_append_to (GFile *file, GFileCreateFlags flags, GCancellable *cancellable, GError **error)
 
GIO_AVAILABLE_IN_ALL GFileOutputStreamg_file_create (GFile *file, GFileCreateFlags flags, GCancellable *cancellable, GError **error)
 
GIO_AVAILABLE_IN_ALL GFileOutputStreamg_file_replace (GFile *file, const char *etag, gboolean make_backup, GFileCreateFlags flags, GCancellable *cancellable, GError **error)
 
GIO_AVAILABLE_IN_ALL void g_file_append_to_async (GFile *file, GFileCreateFlags flags, int io_priority, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
 
GIO_AVAILABLE_IN_ALL GFileOutputStreamg_file_append_to_finish (GFile *file, GAsyncResult *res, GError **error)
 
GIO_AVAILABLE_IN_ALL void g_file_create_async (GFile *file, GFileCreateFlags flags, int io_priority, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
 
GIO_AVAILABLE_IN_ALL GFileOutputStreamg_file_create_finish (GFile *file, GAsyncResult *res, GError **error)
 
GIO_AVAILABLE_IN_ALL void g_file_replace_async (GFile *file, const char *etag, gboolean make_backup, GFileCreateFlags flags, int io_priority, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
 
GIO_AVAILABLE_IN_ALL GFileOutputStreamg_file_replace_finish (GFile *file, GAsyncResult *res, GError **error)
 
GIO_AVAILABLE_IN_ALL GFileIOStreamg_file_open_readwrite (GFile *file, GCancellable *cancellable, GError **error)
 
GIO_AVAILABLE_IN_ALL void g_file_open_readwrite_async (GFile *file, int io_priority, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
 
GIO_AVAILABLE_IN_ALL GFileIOStreamg_file_open_readwrite_finish (GFile *file, GAsyncResult *res, GError **error)
 
GIO_AVAILABLE_IN_ALL GFileIOStreamg_file_create_readwrite (GFile *file, GFileCreateFlags flags, GCancellable *cancellable, GError **error)
 
GIO_AVAILABLE_IN_ALL void g_file_create_readwrite_async (GFile *file, GFileCreateFlags flags, int io_priority, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
 
GIO_AVAILABLE_IN_ALL GFileIOStreamg_file_create_readwrite_finish (GFile *file, GAsyncResult *res, GError **error)
 
GIO_AVAILABLE_IN_ALL GFileIOStreamg_file_replace_readwrite (GFile *file, const char *etag, gboolean make_backup, GFileCreateFlags flags, GCancellable *cancellable, GError **error)
 
GIO_AVAILABLE_IN_ALL void g_file_replace_readwrite_async (GFile *file, const char *etag, gboolean make_backup, GFileCreateFlags flags, int io_priority, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
 
GIO_AVAILABLE_IN_ALL GFileIOStreamg_file_replace_readwrite_finish (GFile *file, GAsyncResult *res, GError **error)
 
GIO_AVAILABLE_IN_ALL gboolean g_file_query_exists (GFile *file, GCancellable *cancellable)
 
GIO_AVAILABLE_IN_ALL GFileType g_file_query_file_type (GFile *file, GFileQueryInfoFlags flags, GCancellable *cancellable)
 
GIO_AVAILABLE_IN_ALL GFileInfog_file_query_info (GFile *file, const char *attributes, GFileQueryInfoFlags flags, GCancellable *cancellable, GError **error)
 
GIO_AVAILABLE_IN_ALL void g_file_query_info_async (GFile *file, const char *attributes, GFileQueryInfoFlags flags, int io_priority, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
 
GIO_AVAILABLE_IN_ALL GFileInfog_file_query_info_finish (GFile *file, GAsyncResult *res, GError **error)
 
GIO_AVAILABLE_IN_ALL GFileInfog_file_query_filesystem_info (GFile *file, const char *attributes, GCancellable *cancellable, GError **error)
 
GIO_AVAILABLE_IN_ALL void g_file_query_filesystem_info_async (GFile *file, const char *attributes, int io_priority, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
 
GIO_AVAILABLE_IN_ALL GFileInfog_file_query_filesystem_info_finish (GFile *file, GAsyncResult *res, GError **error)
 
GIO_AVAILABLE_IN_ALL GMountg_file_find_enclosing_mount (GFile *file, GCancellable *cancellable, GError **error)
 
GIO_AVAILABLE_IN_ALL void g_file_find_enclosing_mount_async (GFile *file, int io_priority, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
 
GIO_AVAILABLE_IN_ALL GMountg_file_find_enclosing_mount_finish (GFile *file, GAsyncResult *res, GError **error)
 
GIO_AVAILABLE_IN_ALL GFileEnumeratorg_file_enumerate_children (GFile *file, const char *attributes, GFileQueryInfoFlags flags, GCancellable *cancellable, GError **error)
 
GIO_AVAILABLE_IN_ALL void g_file_enumerate_children_async (GFile *file, const char *attributes, GFileQueryInfoFlags flags, int io_priority, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
 
GIO_AVAILABLE_IN_ALL GFileEnumeratorg_file_enumerate_children_finish (GFile *file, GAsyncResult *res, GError **error)
 
GIO_AVAILABLE_IN_ALL GFileg_file_set_display_name (GFile *file, const char *display_name, GCancellable *cancellable, GError **error)
 
GIO_AVAILABLE_IN_ALL void g_file_set_display_name_async (GFile *file, const char *display_name, int io_priority, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
 
GIO_AVAILABLE_IN_ALL GFileg_file_set_display_name_finish (GFile *file, GAsyncResult *res, GError **error)
 
GIO_AVAILABLE_IN_ALL gboolean g_file_delete (GFile *file, GCancellable *cancellable, GError **error)
 
GIO_AVAILABLE_IN_2_34 void g_file_delete_async (GFile *file, int io_priority, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
 
GIO_AVAILABLE_IN_2_34 gboolean g_file_delete_finish (GFile *file, GAsyncResult *result, GError **error)
 
GIO_AVAILABLE_IN_ALL gboolean g_file_trash (GFile *file, GCancellable *cancellable, GError **error)
 
GIO_AVAILABLE_IN_2_38 void g_file_trash_async (GFile *file, int io_priority, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
 
GIO_AVAILABLE_IN_2_38 gboolean g_file_trash_finish (GFile *file, GAsyncResult *result, GError **error)
 
GIO_AVAILABLE_IN_ALL gboolean g_file_copy (GFile *source, GFile *destination, GFileCopyFlags flags, GCancellable *cancellable, GFileProgressCallback progress_callback, gpointer progress_callback_data, GError **error)
 
GIO_AVAILABLE_IN_ALL void g_file_copy_async (GFile *source, GFile *destination, GFileCopyFlags flags, int io_priority, GCancellable *cancellable, GFileProgressCallback progress_callback, gpointer progress_callback_data, GAsyncReadyCallback callback, gpointer user_data)
 
GIO_AVAILABLE_IN_2_82 void g_file_copy_async_with_closures (GFile *source, GFile *destination, GFileCopyFlags flags, int io_priority, GCancellable *cancellable, GClosure *progress_callback_closure, GClosure *ready_callback_closure)
 
GIO_AVAILABLE_IN_ALL gboolean g_file_copy_finish (GFile *file, GAsyncResult *res, GError **error)
 
GIO_AVAILABLE_IN_ALL gboolean g_file_move (GFile *source, GFile *destination, GFileCopyFlags flags, GCancellable *cancellable, GFileProgressCallback progress_callback, gpointer progress_callback_data, GError **error)
 
GIO_AVAILABLE_IN_2_72 void g_file_move_async (GFile *source, GFile *destination, GFileCopyFlags flags, int io_priority, GCancellable *cancellable, GFileProgressCallback progress_callback, gpointer progress_callback_data, GAsyncReadyCallback callback, gpointer user_data)
 
GIO_AVAILABLE_IN_2_82 void g_file_move_async_with_closures (GFile *source, GFile *destination, GFileCopyFlags flags, int io_priority, GCancellable *cancellable, GClosure *progress_callback_closure, GClosure *ready_callback_closure)
 
GIO_AVAILABLE_IN_2_72 gboolean g_file_move_finish (GFile *file, GAsyncResult *result, GError **error)
 
GIO_AVAILABLE_IN_ALL gboolean g_file_make_directory (GFile *file, GCancellable *cancellable, GError **error)
 
GIO_AVAILABLE_IN_2_38 void g_file_make_directory_async (GFile *file, int io_priority, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
 
GIO_AVAILABLE_IN_2_38 gboolean g_file_make_directory_finish (GFile *file, GAsyncResult *result, GError **error)
 
GIO_AVAILABLE_IN_ALL gboolean g_file_make_directory_with_parents (GFile *file, GCancellable *cancellable, GError **error)
 
GIO_AVAILABLE_IN_ALL gboolean g_file_make_symbolic_link (GFile *file, const char *symlink_value, GCancellable *cancellable, GError **error)
 
GIO_AVAILABLE_IN_2_74 void g_file_make_symbolic_link_async (GFile *file, const char *symlink_value, int io_priority, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
 
GIO_AVAILABLE_IN_2_74 gboolean g_file_make_symbolic_link_finish (GFile *file, GAsyncResult *result, GError **error)
 
GIO_AVAILABLE_IN_ALL GFileAttributeInfoListg_file_query_settable_attributes (GFile *file, GCancellable *cancellable, GError **error)
 
GIO_AVAILABLE_IN_ALL GFileAttributeInfoListg_file_query_writable_namespaces (GFile *file, GCancellable *cancellable, GError **error)
 
GIO_AVAILABLE_IN_ALL gboolean g_file_set_attribute (GFile *file, const char *attribute, GFileAttributeType type, gpointer value_p, GFileQueryInfoFlags flags, GCancellable *cancellable, GError **error)
 
GIO_AVAILABLE_IN_ALL gboolean g_file_set_attributes_from_info (GFile *file, GFileInfo *info, GFileQueryInfoFlags flags, GCancellable *cancellable, GError **error)
 
GIO_AVAILABLE_IN_ALL void g_file_set_attributes_async (GFile *file, GFileInfo *info, GFileQueryInfoFlags flags, int io_priority, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
 
GIO_AVAILABLE_IN_ALL gboolean g_file_set_attributes_finish (GFile *file, GAsyncResult *result, GFileInfo **info, GError **error)
 
GIO_AVAILABLE_IN_ALL gboolean g_file_set_attribute_string (GFile *file, const char *attribute, const char *value, GFileQueryInfoFlags flags, GCancellable *cancellable, GError **error)
 
GIO_AVAILABLE_IN_ALL gboolean g_file_set_attribute_byte_string (GFile *file, const char *attribute, const char *value, GFileQueryInfoFlags flags, GCancellable *cancellable, GError **error)
 
GIO_AVAILABLE_IN_ALL gboolean g_file_set_attribute_uint32 (GFile *file, const char *attribute, guint32 value, GFileQueryInfoFlags flags, GCancellable *cancellable, GError **error)
 
GIO_AVAILABLE_IN_ALL gboolean g_file_set_attribute_int32 (GFile *file, const char *attribute, gint32 value, GFileQueryInfoFlags flags, GCancellable *cancellable, GError **error)
 
GIO_AVAILABLE_IN_ALL gboolean g_file_set_attribute_uint64 (GFile *file, const char *attribute, guint64 value, GFileQueryInfoFlags flags, GCancellable *cancellable, GError **error)
 
GIO_AVAILABLE_IN_ALL gboolean g_file_set_attribute_int64 (GFile *file, const char *attribute, gint64 value, GFileQueryInfoFlags flags, GCancellable *cancellable, GError **error)
 
GIO_AVAILABLE_IN_ALL void g_file_mount_enclosing_volume (GFile *location, GMountMountFlags flags, GMountOperation *mount_operation, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
 
GIO_AVAILABLE_IN_ALL gboolean g_file_mount_enclosing_volume_finish (GFile *location, GAsyncResult *result, GError **error)
 
GIO_AVAILABLE_IN_ALL void g_file_mount_mountable (GFile *file, GMountMountFlags flags, GMountOperation *mount_operation, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
 
GIO_AVAILABLE_IN_ALL GFileg_file_mount_mountable_finish (GFile *file, GAsyncResult *result, GError **error)
 
void g_file_unmount_mountable (GFile *file, GMountUnmountFlags flags, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
 
gboolean g_file_unmount_mountable_finish (GFile *file, GAsyncResult *result, GError **error)
 
GIO_AVAILABLE_IN_ALL void g_file_unmount_mountable_with_operation (GFile *file, GMountUnmountFlags flags, GMountOperation *mount_operation, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
 
GIO_AVAILABLE_IN_ALL gboolean g_file_unmount_mountable_with_operation_finish (GFile *file, GAsyncResult *result, GError **error)
 
void g_file_eject_mountable (GFile *file, GMountUnmountFlags flags, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
 
gboolean g_file_eject_mountable_finish (GFile *file, GAsyncResult *result, GError **error)
 
GIO_AVAILABLE_IN_ALL void g_file_eject_mountable_with_operation (GFile *file, GMountUnmountFlags flags, GMountOperation *mount_operation, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
 
GIO_AVAILABLE_IN_ALL gboolean g_file_eject_mountable_with_operation_finish (GFile *file, GAsyncResult *result, GError **error)
 
GIO_AVAILABLE_IN_2_68 char * g_file_build_attribute_list_for_copy (GFile *file, GFileCopyFlags flags, GCancellable *cancellable, GError **error)
 
GIO_AVAILABLE_IN_ALL gboolean g_file_copy_attributes (GFile *source, GFile *destination, GFileCopyFlags flags, GCancellable *cancellable, GError **error)
 
GIO_AVAILABLE_IN_ALL GFileMonitorg_file_monitor_directory (GFile *file, GFileMonitorFlags flags, GCancellable *cancellable, GError **error)
 
GIO_AVAILABLE_IN_ALL GFileMonitorg_file_monitor_file (GFile *file, GFileMonitorFlags flags, GCancellable *cancellable, GError **error)
 
GIO_AVAILABLE_IN_ALL GFileMonitorg_file_monitor (GFile *file, GFileMonitorFlags flags, GCancellable *cancellable, GError **error)
 
GIO_AVAILABLE_IN_2_38 gboolean g_file_measure_disk_usage (GFile *file, GFileMeasureFlags flags, GCancellable *cancellable, GFileMeasureProgressCallback progress_callback, gpointer progress_data, guint64 *disk_usage, guint64 *num_dirs, guint64 *num_files, GError **error)
 
GIO_AVAILABLE_IN_2_38 void g_file_measure_disk_usage_async (GFile *file, GFileMeasureFlags flags, gint io_priority, GCancellable *cancellable, GFileMeasureProgressCallback progress_callback, gpointer progress_data, GAsyncReadyCallback callback, gpointer user_data)
 
GIO_AVAILABLE_IN_2_38 gboolean g_file_measure_disk_usage_finish (GFile *file, GAsyncResult *result, guint64 *disk_usage, guint64 *num_dirs, guint64 *num_files, GError **error)
 
GIO_AVAILABLE_IN_ALL void g_file_start_mountable (GFile *file, GDriveStartFlags flags, GMountOperation *start_operation, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
 
GIO_AVAILABLE_IN_ALL gboolean g_file_start_mountable_finish (GFile *file, GAsyncResult *result, GError **error)
 
GIO_AVAILABLE_IN_ALL void g_file_stop_mountable (GFile *file, GMountUnmountFlags flags, GMountOperation *mount_operation, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
 
GIO_AVAILABLE_IN_ALL gboolean g_file_stop_mountable_finish (GFile *file, GAsyncResult *result, GError **error)
 
GIO_AVAILABLE_IN_ALL void g_file_poll_mountable (GFile *file, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
 
GIO_AVAILABLE_IN_ALL gboolean g_file_poll_mountable_finish (GFile *file, GAsyncResult *result, GError **error)
 
GIO_AVAILABLE_IN_ALL GAppInfog_file_query_default_handler (GFile *file, GCancellable *cancellable, GError **error)
 
GIO_AVAILABLE_IN_2_60 void g_file_query_default_handler_async (GFile *file, int io_priority, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
 
GIO_AVAILABLE_IN_2_60 GAppInfog_file_query_default_handler_finish (GFile *file, GAsyncResult *result, GError **error)
 
GIO_AVAILABLE_IN_ALL gboolean g_file_load_contents (GFile *file, GCancellable *cancellable, char **contents, gsize *length, char **etag_out, GError **error)
 
GIO_AVAILABLE_IN_ALL void g_file_load_contents_async (GFile *file, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
 
GIO_AVAILABLE_IN_ALL gboolean g_file_load_contents_finish (GFile *file, GAsyncResult *res, char **contents, gsize *length, char **etag_out, GError **error)
 
GIO_AVAILABLE_IN_ALL void g_file_load_partial_contents_async (GFile *file, GCancellable *cancellable, GFileReadMoreCallback read_more_callback, GAsyncReadyCallback callback, gpointer user_data)
 
GIO_AVAILABLE_IN_ALL gboolean g_file_load_partial_contents_finish (GFile *file, GAsyncResult *res, char **contents, gsize *length, char **etag_out, GError **error)
 
GIO_AVAILABLE_IN_ALL gboolean g_file_replace_contents (GFile *file, const char *contents, gsize length, const char *etag, gboolean make_backup, GFileCreateFlags flags, char **new_etag, GCancellable *cancellable, GError **error)
 
GIO_AVAILABLE_IN_ALL void g_file_replace_contents_async (GFile *file, const char *contents, gsize length, const char *etag, gboolean make_backup, GFileCreateFlags flags, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
 
GIO_AVAILABLE_IN_2_40 void g_file_replace_contents_bytes_async (GFile *file, GBytes *contents, const char *etag, gboolean make_backup, GFileCreateFlags flags, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
 
GIO_AVAILABLE_IN_ALL gboolean g_file_replace_contents_finish (GFile *file, GAsyncResult *res, char **new_etag, GError **error)
 
GIO_AVAILABLE_IN_ALL gboolean g_file_supports_thread_contexts (GFile *file)
 
GIO_AVAILABLE_IN_2_56 GBytesg_file_load_bytes (GFile *file, GCancellable *cancellable, gchar **etag_out, GError **error)
 
GIO_AVAILABLE_IN_2_56 void g_file_load_bytes_async (GFile *file, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
 
GIO_AVAILABLE_IN_2_56 GBytesg_file_load_bytes_finish (GFile *file, GAsyncResult *result, gchar **etag_out, GError **error)
 

Macro Definition Documentation

◆ G_FILE

#define G_FILE ( obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), G_TYPE_FILE, GFile))

Definition at line 35 of file gfile.h.

◆ G_FILE_GET_IFACE

#define G_FILE_GET_IFACE ( obj)    (G_TYPE_INSTANCE_GET_INTERFACE ((obj), G_TYPE_FILE, GFileIface))

Definition at line 37 of file gfile.h.

◆ G_IS_FILE

#define G_IS_FILE ( obj)    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), G_TYPE_FILE))

Definition at line 36 of file gfile.h.

◆ G_TYPE_FILE

#define G_TYPE_FILE   (g_file_get_type ())

Definition at line 34 of file gfile.h.

Typedef Documentation

◆ GFileIface

typedef struct _GFileIface GFileIface

Definition at line 39 of file gfile.h.

Function Documentation

◆ g_file_append_to()

GIO_AVAILABLE_IN_ALL GFileOutputStream * g_file_append_to ( GFile * file,
GFileCreateFlags flags,
GCancellable * cancellable,
GError ** error )

◆ g_file_append_to_async()

GIO_AVAILABLE_IN_ALL void g_file_append_to_async ( GFile * file,
GFileCreateFlags flags,
int io_priority,
GCancellable * cancellable,
GAsyncReadyCallback callback,
gpointer user_data )

◆ g_file_append_to_finish()

GIO_AVAILABLE_IN_ALL GFileOutputStream * g_file_append_to_finish ( GFile * file,
GAsyncResult * res,
GError ** error )

◆ g_file_build_attribute_list_for_copy()

GIO_AVAILABLE_IN_2_68 char * g_file_build_attribute_list_for_copy ( GFile * file,
GFileCopyFlags flags,
GCancellable * cancellable,
GError ** error )

◆ g_file_copy()

GIO_AVAILABLE_IN_ALL gboolean g_file_copy ( GFile * source,
GFile * destination,
GFileCopyFlags flags,
GCancellable * cancellable,
GFileProgressCallback progress_callback,
gpointer progress_callback_data,
GError ** error )

◆ g_file_copy_async()

GIO_AVAILABLE_IN_ALL void g_file_copy_async ( GFile * source,
GFile * destination,
GFileCopyFlags flags,
int io_priority,
GCancellable * cancellable,
GFileProgressCallback progress_callback,
gpointer progress_callback_data,
GAsyncReadyCallback callback,
gpointer user_data )

◆ g_file_copy_async_with_closures()

GIO_AVAILABLE_IN_2_82 void g_file_copy_async_with_closures ( GFile * source,
GFile * destination,
GFileCopyFlags flags,
int io_priority,
GCancellable * cancellable,
GClosure * progress_callback_closure,
GClosure * ready_callback_closure )

◆ g_file_copy_attributes()

GIO_AVAILABLE_IN_ALL gboolean g_file_copy_attributes ( GFile * source,
GFile * destination,
GFileCopyFlags flags,
GCancellable * cancellable,
GError ** error )

◆ g_file_copy_finish()

GIO_AVAILABLE_IN_ALL gboolean g_file_copy_finish ( GFile * file,
GAsyncResult * res,
GError ** error )

◆ g_file_create()

GIO_AVAILABLE_IN_ALL GFileOutputStream * g_file_create ( GFile * file,
GFileCreateFlags flags,
GCancellable * cancellable,
GError ** error )

◆ g_file_create_async()

GIO_AVAILABLE_IN_ALL void g_file_create_async ( GFile * file,
GFileCreateFlags flags,
int io_priority,
GCancellable * cancellable,
GAsyncReadyCallback callback,
gpointer user_data )

◆ g_file_create_finish()

GIO_AVAILABLE_IN_ALL GFileOutputStream * g_file_create_finish ( GFile * file,
GAsyncResult * res,
GError ** error )

◆ g_file_create_readwrite()

GIO_AVAILABLE_IN_ALL GFileIOStream * g_file_create_readwrite ( GFile * file,
GFileCreateFlags flags,
GCancellable * cancellable,
GError ** error )

◆ g_file_create_readwrite_async()

GIO_AVAILABLE_IN_ALL void g_file_create_readwrite_async ( GFile * file,
GFileCreateFlags flags,
int io_priority,
GCancellable * cancellable,
GAsyncReadyCallback callback,
gpointer user_data )

◆ g_file_create_readwrite_finish()

GIO_AVAILABLE_IN_ALL GFileIOStream * g_file_create_readwrite_finish ( GFile * file,
GAsyncResult * res,
GError ** error )

◆ g_file_delete()

GIO_AVAILABLE_IN_ALL gboolean g_file_delete ( GFile * file,
GCancellable * cancellable,
GError ** error )

◆ g_file_delete_async()

GIO_AVAILABLE_IN_2_34 void g_file_delete_async ( GFile * file,
int io_priority,
GCancellable * cancellable,
GAsyncReadyCallback callback,
gpointer user_data )

◆ g_file_delete_finish()

GIO_AVAILABLE_IN_2_34 gboolean g_file_delete_finish ( GFile * file,
GAsyncResult * result,
GError ** error )

◆ g_file_dup()

GIO_AVAILABLE_IN_ALL GFile * g_file_dup ( GFile * file)

◆ g_file_eject_mountable()

void g_file_eject_mountable ( GFile * file,
GMountUnmountFlags flags,
GCancellable * cancellable,
GAsyncReadyCallback callback,
gpointer user_data )

◆ g_file_eject_mountable_finish()

gboolean g_file_eject_mountable_finish ( GFile * file,
GAsyncResult * result,
GError ** error )

◆ g_file_eject_mountable_with_operation()

GIO_AVAILABLE_IN_ALL void g_file_eject_mountable_with_operation ( GFile * file,
GMountUnmountFlags flags,
GMountOperation * mount_operation,
GCancellable * cancellable,
GAsyncReadyCallback callback,
gpointer user_data )

◆ g_file_eject_mountable_with_operation_finish()

GIO_AVAILABLE_IN_ALL gboolean g_file_eject_mountable_with_operation_finish ( GFile * file,
GAsyncResult * result,
GError ** error )

◆ g_file_enumerate_children()

GIO_AVAILABLE_IN_ALL GFileEnumerator * g_file_enumerate_children ( GFile * file,
const char * attributes,
GFileQueryInfoFlags flags,
GCancellable * cancellable,
GError ** error )

◆ g_file_enumerate_children_async()

GIO_AVAILABLE_IN_ALL void g_file_enumerate_children_async ( GFile * file,
const char * attributes,
GFileQueryInfoFlags flags,
int io_priority,
GCancellable * cancellable,
GAsyncReadyCallback callback,
gpointer user_data )

◆ g_file_enumerate_children_finish()

GIO_AVAILABLE_IN_ALL GFileEnumerator * g_file_enumerate_children_finish ( GFile * file,
GAsyncResult * res,
GError ** error )

◆ g_file_equal()

GIO_AVAILABLE_IN_ALL gboolean g_file_equal ( GFile * file1,
GFile * file2 )

◆ g_file_find_enclosing_mount()

GIO_AVAILABLE_IN_ALL GMount * g_file_find_enclosing_mount ( GFile * file,
GCancellable * cancellable,
GError ** error )

◆ g_file_find_enclosing_mount_async()

GIO_AVAILABLE_IN_ALL void g_file_find_enclosing_mount_async ( GFile * file,
int io_priority,
GCancellable * cancellable,
GAsyncReadyCallback callback,
gpointer user_data )

◆ g_file_find_enclosing_mount_finish()

GIO_AVAILABLE_IN_ALL GMount * g_file_find_enclosing_mount_finish ( GFile * file,
GAsyncResult * res,
GError ** error )

◆ g_file_get_basename()

GIO_AVAILABLE_IN_ALL char * g_file_get_basename ( GFile * file)

◆ g_file_get_child()

GIO_AVAILABLE_IN_ALL GFile * g_file_get_child ( GFile * file,
const char * name )

◆ g_file_get_child_for_display_name()

GIO_AVAILABLE_IN_ALL GFile * g_file_get_child_for_display_name ( GFile * file,
const char * display_name,
GError ** error )

◆ g_file_get_parent()

GIO_AVAILABLE_IN_ALL GFile * g_file_get_parent ( GFile * file)

◆ g_file_get_parse_name()

GIO_AVAILABLE_IN_ALL char * g_file_get_parse_name ( GFile * file)

◆ g_file_get_path()

GIO_AVAILABLE_IN_ALL char * g_file_get_path ( GFile * file)

◆ g_file_get_relative_path()

GIO_AVAILABLE_IN_ALL char * g_file_get_relative_path ( GFile * parent,
GFile * descendant )

◆ g_file_get_type()

GIO_AVAILABLE_IN_ALL GType g_file_get_type ( void )

◆ g_file_get_uri()

GIO_AVAILABLE_IN_ALL char * g_file_get_uri ( GFile * file)

◆ g_file_get_uri_scheme()

GIO_AVAILABLE_IN_ALL char * g_file_get_uri_scheme ( GFile * file)

◆ g_file_has_parent()

GIO_AVAILABLE_IN_ALL gboolean g_file_has_parent ( GFile * file,
GFile * parent )

◆ g_file_has_prefix()

GIO_AVAILABLE_IN_ALL gboolean g_file_has_prefix ( GFile * file,
GFile * prefix )

◆ g_file_has_uri_scheme()

GIO_AVAILABLE_IN_ALL gboolean g_file_has_uri_scheme ( GFile * file,
const char * uri_scheme )

◆ g_file_hash()

◆ g_file_is_native()

GIO_AVAILABLE_IN_ALL gboolean g_file_is_native ( GFile * file)

◆ g_file_load_bytes()

GIO_AVAILABLE_IN_2_56 GBytes * g_file_load_bytes ( GFile * file,
GCancellable * cancellable,
gchar ** etag_out,
GError ** error )

◆ g_file_load_bytes_async()

GIO_AVAILABLE_IN_2_56 void g_file_load_bytes_async ( GFile * file,
GCancellable * cancellable,
GAsyncReadyCallback callback,
gpointer user_data )

◆ g_file_load_bytes_finish()

GIO_AVAILABLE_IN_2_56 GBytes * g_file_load_bytes_finish ( GFile * file,
GAsyncResult * result,
gchar ** etag_out,
GError ** error )

◆ g_file_load_contents()

GIO_AVAILABLE_IN_ALL gboolean g_file_load_contents ( GFile * file,
GCancellable * cancellable,
char ** contents,
gsize * length,
char ** etag_out,
GError ** error )

◆ g_file_load_contents_async()

GIO_AVAILABLE_IN_ALL void g_file_load_contents_async ( GFile * file,
GCancellable * cancellable,
GAsyncReadyCallback callback,
gpointer user_data )

◆ g_file_load_contents_finish()

GIO_AVAILABLE_IN_ALL gboolean g_file_load_contents_finish ( GFile * file,
GAsyncResult * res,
char ** contents,
gsize * length,
char ** etag_out,
GError ** error )

◆ g_file_load_partial_contents_async()

GIO_AVAILABLE_IN_ALL void g_file_load_partial_contents_async ( GFile * file,
GCancellable * cancellable,
GFileReadMoreCallback read_more_callback,
GAsyncReadyCallback callback,
gpointer user_data )

◆ g_file_load_partial_contents_finish()

GIO_AVAILABLE_IN_ALL gboolean g_file_load_partial_contents_finish ( GFile * file,
GAsyncResult * res,
char ** contents,
gsize * length,
char ** etag_out,
GError ** error )

◆ g_file_make_directory()

GIO_AVAILABLE_IN_ALL gboolean g_file_make_directory ( GFile * file,
GCancellable * cancellable,
GError ** error )

◆ g_file_make_directory_async()

GIO_AVAILABLE_IN_2_38 void g_file_make_directory_async ( GFile * file,
int io_priority,
GCancellable * cancellable,
GAsyncReadyCallback callback,
gpointer user_data )

◆ g_file_make_directory_finish()

GIO_AVAILABLE_IN_2_38 gboolean g_file_make_directory_finish ( GFile * file,
GAsyncResult * result,
GError ** error )

◆ g_file_make_directory_with_parents()

GIO_AVAILABLE_IN_ALL gboolean g_file_make_directory_with_parents ( GFile * file,
GCancellable * cancellable,
GError ** error )

◆ g_file_make_symbolic_link()

GIO_AVAILABLE_IN_ALL gboolean g_file_make_symbolic_link ( GFile * file,
const char * symlink_value,
GCancellable * cancellable,
GError ** error )

◆ g_file_make_symbolic_link_async()

GIO_AVAILABLE_IN_2_74 void g_file_make_symbolic_link_async ( GFile * file,
const char * symlink_value,
int io_priority,
GCancellable * cancellable,
GAsyncReadyCallback callback,
gpointer user_data )

◆ g_file_make_symbolic_link_finish()

GIO_AVAILABLE_IN_2_74 gboolean g_file_make_symbolic_link_finish ( GFile * file,
GAsyncResult * result,
GError ** error )

◆ g_file_measure_disk_usage()

GIO_AVAILABLE_IN_2_38 gboolean g_file_measure_disk_usage ( GFile * file,
GFileMeasureFlags flags,
GCancellable * cancellable,
GFileMeasureProgressCallback progress_callback,
gpointer progress_data,
guint64 * disk_usage,
guint64 * num_dirs,
guint64 * num_files,
GError ** error )

◆ g_file_measure_disk_usage_async()

GIO_AVAILABLE_IN_2_38 void g_file_measure_disk_usage_async ( GFile * file,
GFileMeasureFlags flags,
gint io_priority,
GCancellable * cancellable,
GFileMeasureProgressCallback progress_callback,
gpointer progress_data,
GAsyncReadyCallback callback,
gpointer user_data )

◆ g_file_measure_disk_usage_finish()

GIO_AVAILABLE_IN_2_38 gboolean g_file_measure_disk_usage_finish ( GFile * file,
GAsyncResult * result,
guint64 * disk_usage,
guint64 * num_dirs,
guint64 * num_files,
GError ** error )

◆ g_file_monitor()

GIO_AVAILABLE_IN_ALL GFileMonitor * g_file_monitor ( GFile * file,
GFileMonitorFlags flags,
GCancellable * cancellable,
GError ** error )

◆ g_file_monitor_directory()

GIO_AVAILABLE_IN_ALL GFileMonitor * g_file_monitor_directory ( GFile * file,
GFileMonitorFlags flags,
GCancellable * cancellable,
GError ** error )

◆ g_file_monitor_file()

GIO_AVAILABLE_IN_ALL GFileMonitor * g_file_monitor_file ( GFile * file,
GFileMonitorFlags flags,
GCancellable * cancellable,
GError ** error )

◆ g_file_mount_enclosing_volume()

GIO_AVAILABLE_IN_ALL void g_file_mount_enclosing_volume ( GFile * location,
GMountMountFlags flags,
GMountOperation * mount_operation,
GCancellable * cancellable,
GAsyncReadyCallback callback,
gpointer user_data )

◆ g_file_mount_enclosing_volume_finish()

GIO_AVAILABLE_IN_ALL gboolean g_file_mount_enclosing_volume_finish ( GFile * location,
GAsyncResult * result,
GError ** error )

◆ g_file_mount_mountable()

GIO_AVAILABLE_IN_ALL void g_file_mount_mountable ( GFile * file,
GMountMountFlags flags,
GMountOperation * mount_operation,
GCancellable * cancellable,
GAsyncReadyCallback callback,
gpointer user_data )

◆ g_file_mount_mountable_finish()

GIO_AVAILABLE_IN_ALL GFile * g_file_mount_mountable_finish ( GFile * file,
GAsyncResult * result,
GError ** error )

◆ g_file_move()

GIO_AVAILABLE_IN_ALL gboolean g_file_move ( GFile * source,
GFile * destination,
GFileCopyFlags flags,
GCancellable * cancellable,
GFileProgressCallback progress_callback,
gpointer progress_callback_data,
GError ** error )

◆ g_file_move_async()

GIO_AVAILABLE_IN_2_72 void g_file_move_async ( GFile * source,
GFile * destination,
GFileCopyFlags flags,
int io_priority,
GCancellable * cancellable,
GFileProgressCallback progress_callback,
gpointer progress_callback_data,
GAsyncReadyCallback callback,
gpointer user_data )

◆ g_file_move_async_with_closures()

GIO_AVAILABLE_IN_2_82 void g_file_move_async_with_closures ( GFile * source,
GFile * destination,
GFileCopyFlags flags,
int io_priority,
GCancellable * cancellable,
GClosure * progress_callback_closure,
GClosure * ready_callback_closure )

◆ g_file_move_finish()

GIO_AVAILABLE_IN_2_72 gboolean g_file_move_finish ( GFile * file,
GAsyncResult * result,
GError ** error )

◆ g_file_new_build_filename()

GIO_AVAILABLE_IN_2_56 GFile * g_file_new_build_filename ( const gchar * first_element,
... )

◆ g_file_new_build_filenamev()

GIO_AVAILABLE_IN_2_78 GFile * g_file_new_build_filenamev ( const gchar *const * args)

◆ g_file_new_for_commandline_arg()

GIO_AVAILABLE_IN_ALL GFile * g_file_new_for_commandline_arg ( const char * arg)

◆ g_file_new_for_commandline_arg_and_cwd()

GIO_AVAILABLE_IN_2_36 GFile * g_file_new_for_commandline_arg_and_cwd ( const gchar * arg,
const gchar * cwd )

◆ g_file_new_for_path()

GIO_AVAILABLE_IN_ALL GFile * g_file_new_for_path ( const char * path)

◆ g_file_new_for_uri()

GIO_AVAILABLE_IN_ALL GFile * g_file_new_for_uri ( const char * uri)

◆ g_file_new_tmp()

GIO_AVAILABLE_IN_2_32 GFile * g_file_new_tmp ( const char * tmpl,
GFileIOStream ** iostream,
GError ** error )

◆ g_file_new_tmp_async()

GIO_AVAILABLE_IN_2_74 void g_file_new_tmp_async ( const char * tmpl,
int io_priority,
GCancellable * cancellable,
GAsyncReadyCallback callback,
gpointer user_data )

◆ g_file_new_tmp_dir_async()

GIO_AVAILABLE_IN_2_74 void g_file_new_tmp_dir_async ( const char * tmpl,
int io_priority,
GCancellable * cancellable,
GAsyncReadyCallback callback,
gpointer user_data )

◆ g_file_new_tmp_dir_finish()

GIO_AVAILABLE_IN_2_74 GFile * g_file_new_tmp_dir_finish ( GAsyncResult * result,
GError ** error )

◆ g_file_new_tmp_finish()

GIO_AVAILABLE_IN_2_74 GFile * g_file_new_tmp_finish ( GAsyncResult * result,
GFileIOStream ** iostream,
GError ** error )

◆ g_file_open_readwrite()

GIO_AVAILABLE_IN_ALL GFileIOStream * g_file_open_readwrite ( GFile * file,
GCancellable * cancellable,
GError ** error )

◆ g_file_open_readwrite_async()

GIO_AVAILABLE_IN_ALL void g_file_open_readwrite_async ( GFile * file,
int io_priority,
GCancellable * cancellable,
GAsyncReadyCallback callback,
gpointer user_data )

◆ g_file_open_readwrite_finish()

GIO_AVAILABLE_IN_ALL GFileIOStream * g_file_open_readwrite_finish ( GFile * file,
GAsyncResult * res,
GError ** error )

◆ g_file_parse_name()

GIO_AVAILABLE_IN_ALL GFile * g_file_parse_name ( const char * parse_name)

◆ g_file_peek_path()

GIO_AVAILABLE_IN_2_56 const char * g_file_peek_path ( GFile * file)

◆ g_file_poll_mountable()

GIO_AVAILABLE_IN_ALL void g_file_poll_mountable ( GFile * file,
GCancellable * cancellable,
GAsyncReadyCallback callback,
gpointer user_data )

◆ g_file_poll_mountable_finish()

GIO_AVAILABLE_IN_ALL gboolean g_file_poll_mountable_finish ( GFile * file,
GAsyncResult * result,
GError ** error )

◆ g_file_query_default_handler()

GIO_AVAILABLE_IN_ALL GAppInfo * g_file_query_default_handler ( GFile * file,
GCancellable * cancellable,
GError ** error )

◆ g_file_query_default_handler_async()

GIO_AVAILABLE_IN_2_60 void g_file_query_default_handler_async ( GFile * file,
int io_priority,
GCancellable * cancellable,
GAsyncReadyCallback callback,
gpointer user_data )

◆ g_file_query_default_handler_finish()

GIO_AVAILABLE_IN_2_60 GAppInfo * g_file_query_default_handler_finish ( GFile * file,
GAsyncResult * result,
GError ** error )

◆ g_file_query_exists()

GIO_AVAILABLE_IN_ALL gboolean g_file_query_exists ( GFile * file,
GCancellable * cancellable )

◆ g_file_query_file_type()

GIO_AVAILABLE_IN_ALL GFileType g_file_query_file_type ( GFile * file,
GFileQueryInfoFlags flags,
GCancellable * cancellable )

◆ g_file_query_filesystem_info()

GIO_AVAILABLE_IN_ALL GFileInfo * g_file_query_filesystem_info ( GFile * file,
const char * attributes,
GCancellable * cancellable,
GError ** error )

◆ g_file_query_filesystem_info_async()

GIO_AVAILABLE_IN_ALL void g_file_query_filesystem_info_async ( GFile * file,
const char * attributes,
int io_priority,
GCancellable * cancellable,
GAsyncReadyCallback callback,
gpointer user_data )

◆ g_file_query_filesystem_info_finish()

GIO_AVAILABLE_IN_ALL GFileInfo * g_file_query_filesystem_info_finish ( GFile * file,
GAsyncResult * res,
GError ** error )

◆ g_file_query_info()

GIO_AVAILABLE_IN_ALL GFileInfo * g_file_query_info ( GFile * file,
const char * attributes,
GFileQueryInfoFlags flags,
GCancellable * cancellable,
GError ** error )

◆ g_file_query_info_async()

GIO_AVAILABLE_IN_ALL void g_file_query_info_async ( GFile * file,
const char * attributes,
GFileQueryInfoFlags flags,
int io_priority,
GCancellable * cancellable,
GAsyncReadyCallback callback,
gpointer user_data )

◆ g_file_query_info_finish()

GIO_AVAILABLE_IN_ALL GFileInfo * g_file_query_info_finish ( GFile * file,
GAsyncResult * res,
GError ** error )

◆ g_file_query_settable_attributes()

GIO_AVAILABLE_IN_ALL GFileAttributeInfoList * g_file_query_settable_attributes ( GFile * file,
GCancellable * cancellable,
GError ** error )

◆ g_file_query_writable_namespaces()

GIO_AVAILABLE_IN_ALL GFileAttributeInfoList * g_file_query_writable_namespaces ( GFile * file,
GCancellable * cancellable,
GError ** error )

◆ g_file_read()

GIO_AVAILABLE_IN_ALL GFileInputStream * g_file_read ( GFile * file,
GCancellable * cancellable,
GError ** error )

◆ g_file_read_async()

GIO_AVAILABLE_IN_ALL void g_file_read_async ( GFile * file,
int io_priority,
GCancellable * cancellable,
GAsyncReadyCallback callback,
gpointer user_data )

◆ g_file_read_finish()

GIO_AVAILABLE_IN_ALL GFileInputStream * g_file_read_finish ( GFile * file,
GAsyncResult * res,
GError ** error )

◆ g_file_replace()

GIO_AVAILABLE_IN_ALL GFileOutputStream * g_file_replace ( GFile * file,
const char * etag,
gboolean make_backup,
GFileCreateFlags flags,
GCancellable * cancellable,
GError ** error )

◆ g_file_replace_async()

GIO_AVAILABLE_IN_ALL void g_file_replace_async ( GFile * file,
const char * etag,
gboolean make_backup,
GFileCreateFlags flags,
int io_priority,
GCancellable * cancellable,
GAsyncReadyCallback callback,
gpointer user_data )

◆ g_file_replace_contents()

GIO_AVAILABLE_IN_ALL gboolean g_file_replace_contents ( GFile * file,
const char * contents,
gsize length,
const char * etag,
gboolean make_backup,
GFileCreateFlags flags,
char ** new_etag,
GCancellable * cancellable,
GError ** error )

◆ g_file_replace_contents_async()

GIO_AVAILABLE_IN_ALL void g_file_replace_contents_async ( GFile * file,
const char * contents,
gsize length,
const char * etag,
gboolean make_backup,
GFileCreateFlags flags,
GCancellable * cancellable,
GAsyncReadyCallback callback,
gpointer user_data )

◆ g_file_replace_contents_bytes_async()

GIO_AVAILABLE_IN_2_40 void g_file_replace_contents_bytes_async ( GFile * file,
GBytes * contents,
const char * etag,
gboolean make_backup,
GFileCreateFlags flags,
GCancellable * cancellable,
GAsyncReadyCallback callback,
gpointer user_data )

◆ g_file_replace_contents_finish()

GIO_AVAILABLE_IN_ALL gboolean g_file_replace_contents_finish ( GFile * file,
GAsyncResult * res,
char ** new_etag,
GError ** error )

◆ g_file_replace_finish()

GIO_AVAILABLE_IN_ALL GFileOutputStream * g_file_replace_finish ( GFile * file,
GAsyncResult * res,
GError ** error )

◆ g_file_replace_readwrite()

GIO_AVAILABLE_IN_ALL GFileIOStream * g_file_replace_readwrite ( GFile * file,
const char * etag,
gboolean make_backup,
GFileCreateFlags flags,
GCancellable * cancellable,
GError ** error )

◆ g_file_replace_readwrite_async()

GIO_AVAILABLE_IN_ALL void g_file_replace_readwrite_async ( GFile * file,
const char * etag,
gboolean make_backup,
GFileCreateFlags flags,
int io_priority,
GCancellable * cancellable,
GAsyncReadyCallback callback,
gpointer user_data )

◆ g_file_replace_readwrite_finish()

GIO_AVAILABLE_IN_ALL GFileIOStream * g_file_replace_readwrite_finish ( GFile * file,
GAsyncResult * res,
GError ** error )

◆ g_file_resolve_relative_path()

GIO_AVAILABLE_IN_ALL GFile * g_file_resolve_relative_path ( GFile * file,
const char * relative_path )

◆ g_file_set_attribute()

GIO_AVAILABLE_IN_ALL gboolean g_file_set_attribute ( GFile * file,
const char * attribute,
GFileAttributeType type,
gpointer value_p,
GFileQueryInfoFlags flags,
GCancellable * cancellable,
GError ** error )

◆ g_file_set_attribute_byte_string()

GIO_AVAILABLE_IN_ALL gboolean g_file_set_attribute_byte_string ( GFile * file,
const char * attribute,
const char * value,
GFileQueryInfoFlags flags,
GCancellable * cancellable,
GError ** error )

◆ g_file_set_attribute_int32()

GIO_AVAILABLE_IN_ALL gboolean g_file_set_attribute_int32 ( GFile * file,
const char * attribute,
gint32 value,
GFileQueryInfoFlags flags,
GCancellable * cancellable,
GError ** error )

◆ g_file_set_attribute_int64()

GIO_AVAILABLE_IN_ALL gboolean g_file_set_attribute_int64 ( GFile * file,
const char * attribute,
gint64 value,
GFileQueryInfoFlags flags,
GCancellable * cancellable,
GError ** error )

◆ g_file_set_attribute_string()

GIO_AVAILABLE_IN_ALL gboolean g_file_set_attribute_string ( GFile * file,
const char * attribute,
const char * value,
GFileQueryInfoFlags flags,
GCancellable * cancellable,
GError ** error )

◆ g_file_set_attribute_uint32()

GIO_AVAILABLE_IN_ALL gboolean g_file_set_attribute_uint32 ( GFile * file,
const char * attribute,
guint32 value,
GFileQueryInfoFlags flags,
GCancellable * cancellable,
GError ** error )

◆ g_file_set_attribute_uint64()

GIO_AVAILABLE_IN_ALL gboolean g_file_set_attribute_uint64 ( GFile * file,
const char * attribute,
guint64 value,
GFileQueryInfoFlags flags,
GCancellable * cancellable,
GError ** error )

◆ g_file_set_attributes_async()

GIO_AVAILABLE_IN_ALL void g_file_set_attributes_async ( GFile * file,
GFileInfo * info,
GFileQueryInfoFlags flags,
int io_priority,
GCancellable * cancellable,
GAsyncReadyCallback callback,
gpointer user_data )

◆ g_file_set_attributes_finish()

GIO_AVAILABLE_IN_ALL gboolean g_file_set_attributes_finish ( GFile * file,
GAsyncResult * result,
GFileInfo ** info,
GError ** error )

◆ g_file_set_attributes_from_info()

GIO_AVAILABLE_IN_ALL gboolean g_file_set_attributes_from_info ( GFile * file,
GFileInfo * info,
GFileQueryInfoFlags flags,
GCancellable * cancellable,
GError ** error )

◆ g_file_set_display_name()

GIO_AVAILABLE_IN_ALL GFile * g_file_set_display_name ( GFile * file,
const char * display_name,
GCancellable * cancellable,
GError ** error )

◆ g_file_set_display_name_async()

GIO_AVAILABLE_IN_ALL void g_file_set_display_name_async ( GFile * file,
const char * display_name,
int io_priority,
GCancellable * cancellable,
GAsyncReadyCallback callback,
gpointer user_data )

◆ g_file_set_display_name_finish()

GIO_AVAILABLE_IN_ALL GFile * g_file_set_display_name_finish ( GFile * file,
GAsyncResult * res,
GError ** error )

◆ g_file_start_mountable()

GIO_AVAILABLE_IN_ALL void g_file_start_mountable ( GFile * file,
GDriveStartFlags flags,
GMountOperation * start_operation,
GCancellable * cancellable,
GAsyncReadyCallback callback,
gpointer user_data )

◆ g_file_start_mountable_finish()

GIO_AVAILABLE_IN_ALL gboolean g_file_start_mountable_finish ( GFile * file,
GAsyncResult * result,
GError ** error )

◆ g_file_stop_mountable()

GIO_AVAILABLE_IN_ALL void g_file_stop_mountable ( GFile * file,
GMountUnmountFlags flags,
GMountOperation * mount_operation,
GCancellable * cancellable,
GAsyncReadyCallback callback,
gpointer user_data )

◆ g_file_stop_mountable_finish()

GIO_AVAILABLE_IN_ALL gboolean g_file_stop_mountable_finish ( GFile * file,
GAsyncResult * result,
GError ** error )

◆ g_file_supports_thread_contexts()

GIO_AVAILABLE_IN_ALL gboolean g_file_supports_thread_contexts ( GFile * file)

◆ g_file_trash()

GIO_AVAILABLE_IN_ALL gboolean g_file_trash ( GFile * file,
GCancellable * cancellable,
GError ** error )

◆ g_file_trash_async()

GIO_AVAILABLE_IN_2_38 void g_file_trash_async ( GFile * file,
int io_priority,
GCancellable * cancellable,
GAsyncReadyCallback callback,
gpointer user_data )

◆ g_file_trash_finish()

GIO_AVAILABLE_IN_2_38 gboolean g_file_trash_finish ( GFile * file,
GAsyncResult * result,
GError ** error )

◆ g_file_unmount_mountable()

void g_file_unmount_mountable ( GFile * file,
GMountUnmountFlags flags,
GCancellable * cancellable,
GAsyncReadyCallback callback,
gpointer user_data )

◆ g_file_unmount_mountable_finish()

gboolean g_file_unmount_mountable_finish ( GFile * file,
GAsyncResult * result,
GError ** error )

◆ g_file_unmount_mountable_with_operation()

GIO_AVAILABLE_IN_ALL void g_file_unmount_mountable_with_operation ( GFile * file,
GMountUnmountFlags flags,
GMountOperation * mount_operation,
GCancellable * cancellable,
GAsyncReadyCallback callback,
gpointer user_data )

◆ g_file_unmount_mountable_with_operation_finish()

GIO_AVAILABLE_IN_ALL gboolean g_file_unmount_mountable_with_operation_finish ( GFile * file,
GAsyncResult * result,
GError ** error )