delete_dir_contents


Description:

[ Version ( since = "0.17.0" ) ]
public bool delete_dir_contents (string path) throws Error

Delete a directory's contents, recursively.

Like delete_dir, but doesn't delete the directory itself. Passing an empty path (`""`) will wipe the entire file system tree.

Parameters:

this

A FileSystem.

path

The paths of the directory.

Returns:

true on success, false if there was an error.