directory_present

Create a directory if it doesn't exist.

⚙️ Compatible targets: Linux, Windows

Parameters

NameDocumentation
pathFull 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
  • ❌ Error: directory_present_${path}_error

Example

method: directory_present
params:
  path: VALUE

Documentation

Create a directory if it doesn't exist.