in Source/RiderSourceCodeAccess/Private/RiderPathLocator/Linux/RiderPathLocatorLinux.cpp [63:74]
static FString GetHomePath()
{
#if ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION <= 20
TCHAR CHomePath[4096];
FPlatformMisc::GetEnvironmentVariable(TEXT("HOME"), CHomePath, ARRAY_COUNT(CHomePath));
const FString FHomePath = CHomePath;
#else
const FString FHomePath = FPlatformMisc::GetEnvironmentVariable(TEXT("HOME"));
#endif
return FHomePath;
}