R/filesystem.R
FileSelector.Rd
檔案選擇器
$create() 工廠方法實例化一個 FileSelector,並接受以下描述的 3 個欄位。
$create()
FileSelector
base_dir:要選擇檔案的目錄。如果路徑存在但並非指向一個目錄,則應為錯誤。
base_dir
allow_not_found:如果 base_dir 在檔案系統中不存在時的行為。如果為 FALSE,則返回錯誤。如果為 TRUE,則返回一個空的選擇。
allow_not_found
FALSE
TRUE
recursive:是否遞迴進入子目錄。
recursive