directory_present
Create a directory if it doesn't exist.
⚙️ Compatible targets: Linux, Windows
Parameters
| Name | Documentation |
|---|---|
| path | Full path of directory to create (trailing '/' is optional). This parameter is required. |
Outcome conditions
You need to replace ${path} with its actual canonified value.
- ✅ Ok:
directory_present_${path}_ok- ☑️ Already compliant:
directory_present_${path}_kept - 🟨 Repaired:
directory_present_${path}_repaired
- ☑️ Already compliant:
- ❌ Error:
directory_present_${path}_error
Example
method: directory_present
params:
path: VALUE
Documentation
Create a directory if it doesn't exist.