Navigation
API > API/Runtime > API/Runtime/SandboxFile > API/Runtime/SandboxFile/FSandboxPlatformFile
Description
Finds all files or folders in the given 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 | FindFiles |
| Type | function |
| Header File | /Engine/Source/Runtime/SandboxFile/Public/IPlatformFileSandboxWrapper.h |
| Include Path | #include "IPlatformFileSandboxWrapper.h" |
| Source | /Engine/Source/Runtime/SandboxFile/Private/IPlatformFileSandboxWrapper.cpp |
void FindFiles
(
TArray< FString > & Result,
const TCHAR * InFilename,
bool Files,
bool Directories
)
Parameters
| Name | Remarks |
|---|---|
| Result | List of found files or folders. |
| InFilename | Path to the folder to look in. |
| Files | true to include files in the Result |
| Files | true to include directories in the Result |