ArrowFileSystem

描述

abstract class Arrow.FileSystem : GObject.Object {
  parent_instance: GObject
}
暂无可用描述。

祖先

函数

garrow_file_system_create

这是一个用于创建特定 GArrowFileSystem 对象的工厂函数。

since: 3.0.0

实例方法

garrow_file_system_copy_file

复制一个文件。 如果目标存在并且是一个目录,则返回一个错误。 否则,它将被替换。

since: 0.17.0

garrow_file_system_create_dir

创建一个目录及其子目录。 如果目录已经存在,此函数也会成功。

since: 0.17.0

garrow_file_system_delete_dir

递归删除一个目录及其内容。

since: 0.17.0

garrow_file_system_delete_dir_contents

递归删除一个目录的内容。 类似于 garrow_file_system_delete_dir(),但不删除目录本身。 传递一个空路径("")将清除整个文件系统树。

since: 0.17.0

garrow_file_system_delete_file

删除一个文件。

since: 0.17.0

garrow_file_system_delete_files

删除多个文件。

since: 0.17.0

garrow_file_system_get_file_info

获取给定目标的信息。

since: 0.17.0

garrow_file_system_get_file_infos_paths

garrow_file_system_get_file_info() 相同,一次获取给定多个目标的信息。

since: 0.17.0

garrow_file_system_get_file_infos_selector

garrow_file_system_get_file_info() 相同,根据选择器获取信息。

since: 0.17.0

garrow_file_system_get_type_name
暂无可用描述。

since: 0.17.0

garrow_file_system_move

移动/重命名文件或目录。 如果目标存在: - 如果它是一个非空目录,则返回一个错误 - 否则,如果它与源具有相同的类型,则替换它 - 否则,行为未指定(取决于实现)。

since: 0.17.0

garrow_file_system_open_append_stream

打开一个用于追加的输出流。 如果目标不存在,则创建一个新的空文件。

since: 0.17.0

garrow_file_system_open_input_file

打开一个用于随机访问读取的输入文件。

since: 0.17.0

garrow_file_system_open_input_stream

打开一个用于顺序读取的输入流。

since: 0.17.0

garrow_file_system_open_output_stream

打开一个用于顺序写入的输出流。 如果目标已经存在,则现有数据将被截断。

since: 0.17.0

GObject 继承的方法 (43)

请参阅 GObject 获取完整的方法列表。

信号

GObject 继承的信号 (1)
GObject::notify

当对象的属性通过 g_object_set_property()、g_object_set() 等设置其值时,会发出 notify 信号。

类结构

struct ArrowFileSystemClass {
  GObjectClass parent_class;
  
}
暂无可用描述。
类成员
parent_class: GObjectClass
暂无可用描述。