在執行階段,展開由 ctx.actions.declare_directory
建立的目錄。這有助於在 map_each
中展開目錄。
成員
展開
list DirectoryExpander.expand(file)
File
是目錄,這會傳回目錄下方遞迴的 File
清單。否則,這會傳回只包含指定 File
的清單。
參數
參數 | 說明 |
---|---|
file
|
檔案;
必要 要展開的目錄或檔案。 |