company logo

File :: eraseDirectory - Erase directory

The function deletes a directory including all subordinated directories and files. When the path does not refer to a valid directory, the function throws an exception.

When the path is not valid, the function throws an exception. In order to avoid exceptions, one may call exist() before calling eraseDirectory() .

Implementation details

File  :: eraseDirectory (  )