Navigation
API > API/Developer > API/Developer/SourceControl
Operation used to create a new workspace if the source control system supports this functionality.
| Name | FCreateWorkspace |
| Type | class |
| Header File | /Engine/Source/Developer/SourceControl/Public/SourceControlOperations.h |
| Include Path | #include "SourceControlOperations.h" |
Syntax
class FCreateWorkspace : public FSourceControlOperationBase
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| SourceControlOperations.h | |||
FCreateWorkspace
(
FStringView WorkspaceName, |
Constructor | SourceControlOperations.h |
Enums
Public
| Name | Remarks |
|---|---|
| EType |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FClientViewMapping | TPair< FString, FString > | SourceControlOperations.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddNativeClientViewMapping
(
FStringView DepotPath, |
Add a new mapping for the client spec in the native format of the current source control provider. | SourceControlOperations.h | |
void ClearClientViewMappings() |
Remove all currently set client-view mappings | SourceControlOperations.h | |
const TArray< FClientViewMapping > GetClientView() |
SourceControlOperations.h | ||
EType GetType() |
SourceControlOperations.h | ||
const FString & GetWorkspaceDescription() |
SourceControlOperations.h | ||
const FString & GetWorkspaceName() |
SourceControlOperations.h | ||
const FString & GetWorkspaceRoot() |
SourceControlOperations.h | ||
const FString & GetWorkspaceStream() |
SourceControlOperations.h | ||
void SetDescription
(
FStringView Desciption |
Set the description to be used by the workspace, if left unset then the default description will be used | SourceControlOperations.h | |
void SetStream
(
FStringView Stream |
Set the stream to be used by the workspace, if left unset then a classic depot with ClientView will be used | SourceControlOperations.h | |
| Set the type of workspace to be created. | SourceControlOperations.h |
Overridden from ISourceControlOperation
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FText GetInProgressString() |
Get the string to display when this operation is in progress | SourceControlOperations.h | |
virtual FName GetName() |
Get the name of this operation, used as a unique identifier | SourceControlOperations.h |