FileSystem.deleteDirContents

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.

class FileSystem
bool
deleteDirContents
(
string path
)

Parameters

path string

The paths of the directory.

Return Value

Type: bool

true on success, false if there was an error.