類別

ArrowSlowFileSystem

描述

class Arrow.SlowFileSystem : Arrow.FileSystem {
  parent_instance: GArrowFileSystem
}
無可用描述。

建構子

garrow_slow_file_system_new_average_latency

延遲時間常態分佈,標準差為 average_latency * 0.1。

since: 0.17.0

garrow_slow_file_system_new_average_latency_and_seed

延遲時間常態分佈,標準差為 average_latency * 0.1。

since: 0.17.0

實例方法

繼承自 GArrowFileSystem 的方法 (15)
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 以取得完整的方法列表。

屬性

繼承自 GArrowFileSystem 的屬性 (1)
Arrow.FileSystem:file-system
無可用描述。

信號

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

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

類別結構

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