Navigation
Unreal Engine C++ API Reference > Developer > SourceControl
Inheritance Hierarchy
References
Module | SourceControl |
Header | /Engine/Source/Developer/SourceControl/Public/SourceControlOperations.h |
Include | #include "SourceControlOperations.h" |
Syntax
class FSyncPreview : public [FSourceControlOperationBase](API\Developer\SourceControl\FSourceControlOperationBase)
Remarks
Operation used to determine the files that would be affected by a sync operation
Variables
Type | Name | Description |
---|---|---|
TArray< FString... | AffectedFiles | Array of files that would be affected by the sync operation |
bool | bHeadRevision | Flag abstracting if the operation aims to preview a sync to head |
FString | Revision | Target Revision to which the sync preview refers to |
int64 | TransferSize | Number of bytes that need to be transferred for the sync operation |
Functions
Type | Name | Description |
---|---|---|
const TArray... | GetAffectedFiles () | |
const FStrin... | GetRevision () | |
int64 | GetTransferSize () | |
bool | IsHeadRevisionFlagSet () | |
void | SetAffectedFiles ( TArray< FString >&& InAffectedFile... ) | |
void | SetHeadRevisionFlag ( const bool bInHeadRevision ) | |
void | SetRevision ( const FString& InRevision ) | |
void | SetTransferSize ( const int64 InTransferSize ) |
Overridden from ISourceControlOperation
Type | Name | Description |
---|---|---|
FText | GetInProgressString () | Get the string to display when this operation is in progress |
FName | GetName () | Get the name of this operation, used as a unique identifier |