Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/TDirectoryTree > API/Runtime/Core/TDirectoryTree/FTreeNode
Description
Recursively search the node's subtree to find the given RelPath. Return whether the path or any parent is found, and if any is found and Outpath is present, append relative path of the discovered path into OutPath.
| Name | TryFindClosestPath |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/DirectoryTree.h |
| Include Path | #include "Containers/DirectoryTree.h" |
ValueType * TryFindClosestPath
(
FStringView RelPath,
FStringBuilderBase * OutPath,
TCHAR SeparatorChar
)