DirectoryGetItems
Alias:DirectoryGetItems, ls, dir
Output:Array<T>
Gets all items in a directory
| Parameter | Type | Required | Position | Default Value | Example | Summary |
|---|---|---|---|---|---|---|
| Directory | string | ✔ | 1 | The path to the directory to enumerate | ||
| Pattern | string | 2 | No Pattern | *.jpg | The pattern to search by | |
| IncludeFiles | bool | 3 | true | Whether to include files in the results | ||
| IncludeDirectories | bool | 4 | true | Whether to include directories in the results | ||
| Recursive | bool | 5 | true | Whether to search recursively |