Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FPaths
Description
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
| Name | CollapseRelativeDirectories |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Misc/Paths.h |
| Include Path | #include "Misc/Paths.h" |
| Source | /Engine/Source/Runtime/Core/Private/Misc/Paths.cpp |
static bool CollapseRelativeDirectories
(
FString & InPath
)