FPakFile::PruneDirectoryIndex

Given a directory index, remove entries from it that are directed by ini to not have filenames kept at runtime.

Choose your operating system:

Windows

macOS

Linux

References

Module

PakFile

Header

/Engine/Source/Runtime/PakFile/Public/IPlatformFilePak.h

Include

#include "IPlatformFilePak.h"

Source

/Engine/Source/Runtime/PakFile/Private/IPlatformFilePak.cpp

Syntax

static void PruneDirectoryIndex
(
    FDirectoryIndex & InOutDirectoryIndex,
    FDirectoryIndex * PrunedDirectoryIndex,
    const FString & MountPoint
)

Remarks

Given a directory index, remove entries from it that are directed by ini to not have filenames kept at runtime.

InOutDirectoryIndex - The full index from which to potentially remove entries OutDirectoryIndex - If null, InOutDirectoryIndex will have pruned entries removed. If non-null, InOutDirectoryIndex will not be modified, and PrunedDirectoryIndex will have kept values added. MountPoint The mount point for the pak containing the index, used to provide the fullpath for filenames in the DirectoryIndex for comparison against paths in ini