ctx.actions.declare_directory
建立的目錄。這有助於擴充 map_each
中的目錄。成員
展開
list DirectoryExpander.expand(file)如果指定的
File
是目錄,就會依序傳回目錄下方的 File
清單。否則,這樣就會傳回只包含指定 File
本身的清單。
參數
參數 | 說明 |
---|---|
file
|
必要 要展開的目錄或檔案。 |