Directory Walk
Walks through a directory and executes a body for each file
Inputs#
| Port | Description |
|---|---|
The directory to walk. use a single dot (.) for the current directory. |
|
| The glob to match. It is applied on both, files and directories. See Glob Pattern. | |
| Whether to walk recursively | |
| Whether to include directories | |
| Whether to include files |
Outputs#
| Port | Description |
|---|---|
| Triggered if the input path is not a directory or if there is an error walking the directory. Also fails if an invalid glob pattern is set. | |
| The items that were walked with their absolute paths. The order is unspecified and determined by the underlying filesystem, but equal to the relative paths. | |
| The items that were walked with their relative paths. The order is unspecified and determined by the underlying filesystem, but equal to the absolute paths. |
ID: core/dir-walk@v1