Skip to main content

参数

string
必填
Directory path resolved inside the workspace after separator normalization and workspace-boundary checks. Empty path or / is treated as ./; invalid or outside-workspace paths error.

返回值

table
Array table of workspace-relative path strings for direct child entries. Files and folders can both be included; entries are not sorted by this function.

示例

枚举已存在 workspace directory 内的 direct child paths。