FileSystem.deleteDirContents

bool deleteDirContents(string path)

Delete a directory's contents, recursively. Like [arrow.file_system.FileSystem.deleteDir], but doesn't delete the directory itself. Passing an empty path (`""`) will wipe the entire file system tree.

Parameters

pathThe paths of the directory.

Returns

true on success, false if there was an error.

Throws

[ErrorWrap]