FPakFile::GetRelativePathFromMountInline

Helper function to return Child's relative path from the mount point.

Windows
MacOS
Linux

References

Module

PakFile

Header

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

Include

#include "IPlatformFilePak.h"

Syntax

static bool GetRelativePathFromMountInline
(
    FString & Child,
    const FString & MountPoint
)

Remarks

Helper function to return Child's relative path from the mount point. Returns false if Child is not equal to MountPoint and is not a child path under MountPoint, else returns true. Edits Child only if returning true, setting it to the relative path. If child equals MountPoint, returns true and sets Child to the relative path to the MountPoint, which is "/"

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss