IPluginUserManagerProviderClearDirectory Method

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

Definition

Namespace: PCBI.Plugin.Interfaces
Assembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
C#
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

See Also