/Engine/Source/Runtime/CoreUObject/Public/UObject/PackageResourceManager.h
IteratePackagesInPath that takes a FPackageSegmentVisitor
void IteratePackagesInPath ( FStringView PackageMount, FStringView FileMount, FStringView RootRelPath, [FPackageSegmentVisitor](API\Runtime\CoreUObject\UObject\IPackageResourceManager\FPackageSegmentVisitor) Callback )