Gio.FileIface

Fields

Name

Type

Access

Description

append_to

object

r

Writes to the end of a file.

append_to_async

object

r

Asynchronously writes to the end of a file.

append_to_finish

object

r

Finishes an asynchronous file append operation.

copy

object

r

Copies a file. None if copying is unsupported, which will cause GFile to use a fallback copy method where it reads from the source and writes to the destination.

copy_async

object

r

Asynchronously copies a file.

copy_finish

object

r

Finishes an asynchronous copy operation.

create

object

r

Creates a new file.

create_async

object

r

Asynchronously creates a file.

create_finish

object

r

Finishes asynchronously creating a file.

create_readwrite

object

r

Creates file read/write.

create_readwrite_async

object

r

Asynchronously creates file read/write.

create_readwrite_finish

object

r

Finishes an asynchronous creates read/write.

delete_file

object

r

Deletes a file.

delete_file_async

object

r

Asynchronously deletes a file.

delete_file_finish

object

r

Finishes an asynchronous delete.

dup

object

r

Duplicates a Gio.File.

eject_mountable

object

r

Ejects a mountable.

eject_mountable_finish

object

r

Finishes an eject operation.

eject_mountable_with_operation

object

r

Ejects a mountable object using a Gio.MountOperation.

eject_mountable_with_operation_finish

object

r

Finishes an eject operation using a Gio.MountOperation.

enumerate_children

object

r

Gets a Gio.FileEnumerator with the children of a Gio.File.

enumerate_children_async

object

r

Asynchronously gets a Gio.FileEnumerator with the children of a Gio.File.

enumerate_children_finish

object

r

Finishes asynchronously enumerating the children.

equal

object

r

Checks equality of two given Gio.Files.

find_enclosing_mount

object

r

Gets a Gio.Mount for the Gio.File.

find_enclosing_mount_async

object

r

Asynchronously gets the Gio.Mount for a Gio.File.

find_enclosing_mount_finish

object

r

Finishes asynchronously getting the volume.

g_iface

GObject.TypeInterface

r

The parent interface.

get_basename

object

r

Gets the basename for a given Gio.File.

get_child_for_display_name

object

r

Gets the child Gio.File for a given display name.

get_parent

object

r

Gets the parent directory for the Gio.File.

get_parse_name

object

r

Gets the parsed name for the Gio.File.

get_path

object

r

Gets the current path within a Gio.File.

get_relative_path

object

r

Gets the path for a Gio.File relative to a given path.

get_uri

object

r

Gets a URI for the path within a Gio.File.

get_uri_scheme

object

r

Gets the URI scheme for a Gio.File.

has_uri_scheme

object

r

Checks to see if a Gio.File has a given URI scheme.

hash

object

r

Creates a hash of a Gio.File.

is_native

object

r

Checks to see if a file is native to the system.

make_directory

object

r

Makes a directory.

make_directory_async

object

r

Asynchronously makes a directory.

make_directory_finish

object

r

Finishes making a directory asynchronously.

make_symbolic_link

object

r

Makes a symbolic link. None if symbolic links are unsupported.

make_symbolic_link_async

object

r

Asynchronously makes a symbolic link

make_symbolic_link_finish

object

r

Finishes making a symbolic link asynchronously.

measure_disk_usage

object

r

Recursively measures the disk usage of file.

measure_disk_usage_async

object

r

Asynchronously recursively measures the disk usage of file.

measure_disk_usage_finish

object

r

Finishes an asynchronous recursive measurement of the disk usage of file.

monitor_dir

object

r

Creates a Gio.FileMonitor for the location.

monitor_file

object

r

Creates a Gio.FileMonitor for the location.

mount_enclosing_volume

object

r

Mounts a specified location.

mount_enclosing_volume_finish

object

r

Finishes mounting a specified location.

mount_mountable

object

r

Mounts a mountable object.

mount_mountable_finish

object

r

Finishes a mounting operation.

move

object

r

Moves a file.

move_async

object

r

Asynchronously moves a file.

move_finish

object

r

Finishes an asynchronous move operation.

open_readwrite

object

r

Open file read/write.

open_readwrite_async

object

r

Asynchronously opens file read/write.

open_readwrite_finish

object

r

Finishes an asynchronous open read/write.

poll_mountable

object

r

Polls a mountable object for media changes.

poll_mountable_finish

object

r

Finishes a poll operation for media changes.

prefix_matches

object

r

Checks whether a Gio.File contains a specified file.

query_filesystem_info

object

r

Gets a Gio.FileInfo for the file system Gio.File is on.

query_filesystem_info_async

object

r

Asynchronously gets a Gio.FileInfo for the file system Gio.File is on.

query_filesystem_info_finish

object

r

Finishes asynchronously getting the file system info.

query_info

object

r

Gets the Gio.FileInfo for a Gio.File.

query_info_async

object

r

Asynchronously gets the Gio.FileInfo for a Gio.File.

query_info_finish

object

r

Finishes an asynchronous query info operation.

query_settable_attributes

object

r

Returns a list of Gio.FileAttributeInfos that can be set.

query_writable_namespaces

object

r

Returns a list of Gio.FileAttributeInfo namespaces that are writable.

read_async

object

r

Asynchronously reads a file.

read_finish

object

r

Finishes asynchronously reading a file.

read_fn

object

r

Reads a file asynchronously.

replace

object

r

Replaces the contents of a file.

replace_async

object

r

Asynchronously replaces the contents of a file.

replace_finish

object

r

Finishes asynchronously replacing a file.

replace_readwrite

object

r

Replaces file read/write.

replace_readwrite_async

object

r

Asynchronously replaces file read/write.

replace_readwrite_finish

object

r

Finishes an asynchronous replace read/write.

resolve_relative_path

object

r

Resolves a relative path for a Gio.File to an absolute path.

set_attribute

object

r

Sets a Gio.FileAttributeInfo.

set_attributes_async

object

r

Asynchronously sets a file’s attributes.

set_attributes_finish

object

r

Finishes setting a file’s attributes asynchronously.

set_attributes_from_info

object

r

Sets a Gio.FileAttributeInfo with information from a Gio.FileInfo.

set_display_name

object

r

Sets the display name for a Gio.File.

set_display_name_async

object

r

Asynchronously sets a Gio.File's display name.

set_display_name_finish

object

r

Finishes asynchronously setting a Gio.File's display name.

start_mountable

object

r

Starts a mountable object.

start_mountable_finish

object

r

Finishes a start operation.

stop_mountable

object

r

Stops a mountable.

stop_mountable_finish

object

r

Finishes a stop operation.

supports_thread_contexts

bool

r

a boolean that indicates whether the Gio.File implementation supports thread-default contexts.

trash

object

r

Sends a Gio.File to the Trash location.

trash_async

object

r

Asynchronously sends a Gio.File to the Trash location.

trash_finish

object

r

Finishes an asynchronous file trashing operation.

unmount_mountable

object

r

Unmounts a mountable object.

unmount_mountable_finish

object

r

Finishes an unmount operation.

unmount_mountable_with_operation

object

r

Unmounts a mountable object using a Gio.MountOperation.

unmount_mountable_with_operation_finish

object

r

Finishes an unmount operation using a Gio.MountOperation.

Methods

None

Details

class Gio.FileIface

An interface for writing VFS file handles.