Skip to content

Std filesystem deletedir

std:std.filesystem.DeleteDir

Function DeleteDir:Bool( dir:String,recursive:Bool=false )#

Deletes a directory at a filesystem path.

If recursive is true, all subdirectories are also deleted.

Returns true if successful.

Parameters
path path The filesystem path.
recursive recursive True to delete subdirectories too.