類別

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 以取得完整的方法列表。

屬性

Arrow.FileSystem:file-system
無可用描述。

信號

繼承自 GObject (1) 的信號
GObject::notify

當物件的其中一個屬性透過 g_object_set_property()、g_object_set() 等設定其值時,會發出 notify 信號。

類別結構

struct ArrowFileSystemClass {
  GObjectClass parent_class;
  
}
無可用描述。
類別成員
parent_class: GObjectClass
無可用描述。