LocalUserManagerClearDirectory Method

Clears the directory of all files but does not delete the directory itself

Definition

Namespace: PCB_Investigator.Automation.UserManager
Assembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
C#
public Task<TryResults<bool>> ClearDirectory(
	string path,
	bool recursive
)

Parameters

path  String
relative path starting but not includign /user/
recursive  Boolean
deeper than one level

Return Value

TaskTryResultsBoolean
True if it worked

Implements

IPluginUserManagerProviderClearDirectory(String, Boolean)

See Also