Navigation
API > API/Developer > API/Developer/SourceControl > API/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 SwitchWorkspace
&40;
FStringView NewWorkspaceName,
FSourceControlResultInfo & OutResultInfo,
FString &42; OutOldWorkspaceName
&41;
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) |