Navigation
API > API/Runtime > API/Runtime/SandboxFile > API/Runtime/SandboxFile/FSandboxPlatformFile
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool DeleteDirectory
(
const TCHAR* Directory |
IPlatformFileSandboxWrapper.h | ||
bool DeleteDirectory
(
const TCHAR* Path, |
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. | IPlatformFileSandboxWrapper.h |
DeleteDirectory(const TCHAR *)
| Name | DeleteDirectory |
| Type | function |
| Header File | /Engine/Source/Runtime/SandboxFile/Public/IPlatformFileSandboxWrapper.h |
| Include Path | #include "IPlatformFileSandboxWrapper.h" |
| Source | /Engine/Source/Runtime/SandboxFile/Private/IPlatformFileSandboxWrapper.cpp |
virtual bool DeleteDirectory
(
const TCHAR * Directory
)
DeleteDirectory(const TCHAR *, bool)
Description
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.
| Name | DeleteDirectory |
| Type | function |
| Header File | /Engine/Source/Runtime/SandboxFile/Public/IPlatformFileSandboxWrapper.h |
| Include Path | #include "IPlatformFileSandboxWrapper.h" |
| Source | /Engine/Source/Runtime/SandboxFile/Private/IPlatformFileSandboxWrapper.cpp |
bool DeleteDirectory
(
const TCHAR * Path,
bool Tree
)
true if the operaton was successful.
Parameters
| Name | Remarks |
|---|---|
| Path | Path to the directory to delete. |
| Tree | true to recursively delete the directory and its contents |