Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Misc > API/Runtime/Core/Misc/FPaths
References
Module | Core |
Header | /Engine/Source/Runtime/Core/Public/Misc/Paths.h |
Include | #include "Misc/Paths.h" |
Source | /Engine/Source/Runtime/Core/Private/Misc/Paths.cpp |
static bool CollapseRelativeDirectories
&40;
FString & InPath
&41;
Remarks
Takes a fully pathed string and eliminates relative pathing (eg: annihilates ".." with the adjacent directory). Assumes all slashes have been converted to TEXT('/'). For example, takes the string: BaseDirectory/SomeDirectory/../SomeOtherDirectory/Filename.ext and converts it to: BaseDirectory/SomeOtherDirectory/Filename.ext