GameProjectUtils::IsValidSourcePath

Check to see if the given path is a valid place to put source code for this project (exists within the source root path)

Windows
MacOS
Linux

References

Module

GameProjectGeneration

Header

/Engine/Source/Editor/GameProjectGeneration/Public/GameProjectUtils.h

Include

#include "GameProjectUtils.h"

Source

/Engine/Source/Editor/GameProjectGeneration/Private/GameProjectUtils.cpp

Syntax

static bool IsValidSourcePath
(
    const FString & InPath,
    const FModuleContextInfo & ModuleInfo,
    FText *const OutFailReason
)

Remarks

Check to see if the given path is a valid place to put source code for this project (exists within the source root path)

Returns

true if the path is valid, false otherwise

Parameters

Parameter

Description

InPath

The path to check

ModuleInfo

Information about the module being validated

OutFailReason

Optional parameter to fill with failure information

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss