file_remove

Remove a file if it exists.

⚙️ Compatible targets: Linux, Windows

⚠️ Deprecated: This method is deprecated and should not be used.

Parameters

NameDocumentation
pathFile to remove (absolute path on the target node).

This parameter is required.

Outcome conditions

You need to replace ${path} with its actual canonified value.

  • ✅ Ok: file_remove_${path}_ok
    • ☑️ Already compliant: file_remove_${path}_kept
    • 🟨 Repaired: file_remove_${path}_repaired
  • ❌ Error: file_remove_${path}_error

Example

method: file_remove
params:
  path: VALUE