OpenWGA 7.10 - TMLScript reference

WGA » WGA.File()
Method :

cleanDir()

On object WGA.File()
Usage Remove all files and subdirectories but does not delete the directory itself
Description

Available since version 7.10.1

Return value

WGAFile for further method chaning.

Examples
WGA.File("some-dir").cleanDir()