Navigation
API > API/Runtime > API/Runtime/SandboxFile > API/Runtime/SandboxFile/FSandboxPlatformFile > API/Runtime/SandboxFile/FSandboxPlatformFile/DeleteDirectory
References
| Module | SandboxFile |
| Header | /Engine/Source/Runtime/SandboxFile/Public/IPlatformFileSandboxWrapper.h |
| Include | #include "IPlatformFileSandboxWrapper.h" |
| Source | /Engine/Source/Runtime/SandboxFile/Private/IPlatformFileSandboxWrapper.cpp |
bool DeleteDirectory
&40;
const TCHAR &42; Path,
bool Tree
&41;
Remarks
Deletes a directory This is partially copied from file manager but since IPlatformFile is lower level it's better to have local version which doesn't use the wrapped IPlatformFile. true if the operaton was successful.
Parameters
| Name | Description |
|---|---|
| Path | Path to the directory to delete. |
| Tree | true to recursively delete the directory and its contents |