/Engine/Source/Editor/UnrealEd/Classes/Commandlets/GatherTextCommandletBase.h
Utility to get the correct base path (engine or project) for the current environment.
static const [FString](API\Runtime\Core\Containers\FString) & GetProjectBasePath()