listfiles
Relative Paths
Please note that paths returned by listfiles are relative to the workspace folder of the executor.
listfiles returns an array of strings representing all files and folders within the specified directory.
This can be used to dynamically check which files exist in a folder, etc.
Parameters
| Parameter | Description |
|---|---|
path |
The path to the directory to scan. |
Example
| Listing files in the root directory | |
|---|---|