Deletes the content of a folder, but not the folder itself. Also ensures the folder exists. Behind the scenes it uses
static ensureEmptyFolder(folderPath: string): void;
|folderPath||string||The absolute or relative path to the folder which should have its contents deleted.|
This is a workaround for a common race condition, where the virus scanner holds a lock on the folder for a brief period after it was deleted, causing EBUSY errors for any code that tries to recreate the folder.