Otter SDK Reference
Version:

ClearDirectoryAsync(string path) Method

Deletes all files and subfolders in a folder (but not the folder itself).

Syntax

public abstract System.Threading.Tasks.Task ClearDirectoryAsync(string path)

Parameters

path
Type: string

The path of the folder to empty.