Skip to content

AmpyWrapper.Ampy.RemoveDirectory(string,bool)

Finnomator edited this page Aug 3, 2023 · 2 revisions

Ampy.RemoveDirectory(string, bool) Method

Forcefully remove a folder and all its children from the board.

public System.Threading.Tasks.Task RemoveDirectory(string remoteFolder, bool missingOkay=false);

Parameters

remoteFolder System.String

Remote folder path.

missingOkay System.Boolean

Ignore if the directory does not exist.

Returns

System.Threading.Tasks.Task

Example

await RemoveDirectory("adafruit_library")  

Clone this wiki locally