Navigation
Unreal Engine C++ API Reference > Developer > SourceControl > ISourceControlProvider
References
Module | SourceControl |
Header | /Engine/Source/Developer/SourceControl/Public/ISourceControlProvider.h |
Include | #include "ISourceControlProvider.h" |
Source | /Engine/Source/Developer/SourceControl/Private/ISourceControlProvider.cpp |
virtual [ECommandResult::Type](API\Developer\SourceControl\ECommandResult__Type) SwitchWorkspace ( FStringView NewWorkspaceName, [FSourceControlResultInfo](API\Developer\SourceControl\FSourceControlResultInfo) & OutResultInfo, [FString](API\Runtime\Core\Containers\FString) * OutOldWorkspaceName )
Remarks
Used to switch the provider from one workspace to another. NOTE: This concept is currently only implemented for the perforce source control provider. The result of the operation.
Parameters
Name | Description |
---|---|
NewWorkspaceName | The name of the workspace to switch to |
ResultInfo[out] | Errors and info messages generated will be written here |
OutOldWorkspaceName[out] | The name of the previous workspace will be written to this FString if the pointer is valid (optional) |