Navigation
API > API/Runtime > API/Runtime/PakFile > API/Runtime/PakFile/FPakFile
References
| Module | PakFile |
| Header | /Engine/Source/Runtime/PakFile/Public/IPlatformFilePak.h |
| Include | #include "IPlatformFilePak.h" |
template<class ContainerType>
void FindPrunedFilesAtPath
&40;
ContainerType & OutFiles,
const TCHAR &42; InPath,
bool bIncludeFiles,
bool bIncludeDirectories,
bool bRecursive
&41; const
Remarks
Looks for files or directories within the Pruned DirectoryIndex of the pak file. The Pruned DirectoryIndex does not have entries for most Files in the pak; they were removed to save memory. A project can specify which FileNames and DirectoryNames can be marked to keep in the DirectoryIndex; see FPakFile::FIndexSettings and FPakFile::PruneDirectoryIndex Returned paths are full paths (include the mount point)
Parameters
| Name | Description |
|---|---|
| OutFiles | List of files or folder matching search criteria. |
| InPath | Path to look for files or folder at. |
| bIncludeFiles | If true OutFiles will include matching files. |
| bIncludeDirectories | If true OutFiles will include matching folders. |
| bRecursive | If true, sub-folders will also be checked. |