Deletes a directory
DirectoryDelete(path=[string], recursive=[boolean])
Argument | Type | Required | Description | Default |
---|---|---|---|---|
path |
string |
true |
the path of the directory to delete | |
recursive |
boolean |
true |
[default:false] whether to recursively delete the directory. If falls and the directory is not empty, with throw a runtime exception |
false |
- ContractPath
- CreateTempDirectory
- CreateTempFile
- DirectoryCopy
- DirectoryCreate
- DirectoryExists
- DirectoryList
- DirectoryMove
- DirectoryRename
- ExpandPath
- FileAppend
- FileClose
- FileCopy
- FileDelete
- FileExists
- FileGetMimeType
- FileInfo
- FileIsEOF
- FileMove
- FileOpen
- FileRead
- FileReadBinary
- FileReadLine
- FileSeek
- FileSetAccessMode
- FileSetAttribute
- FileSetLastModified
- FileSkipBytes
- FileWrite
- FileWriteLine
- GetCanonicalPath
- GetDirectoryFromPath
- GetFileInfo
- getTempFile