clear_directory

Clears the specified directory while preserving the .git directory.

Arguments

NameTypeDescriptionRequired

path_to_directory

string

Path to the directory to clear.

Returns

TypeDescription

null

This tool does not return any value.

Example

- name: clear_directory
  arguments:
    path_to_directory: <path-to-directory>

Last updated