FSync

Operation used to sync files to the state they are in source control

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 FSync : public [FSourceControlOperationBase](API\Developer\SourceControl\FSourceControlOperationBase)  

Remarks

Operation used to sync files to the state they are in source control

Variables

Type Name Description
bool bForce Forces operation, even if the file is already at the wanted revision.
bool bHeadRevision Flag abstracting if the operation aims to sync to head
bool bLastSynced Flag abstracting if the operation aims to force sync to last synced revision
FString Revision Revision to sync to

Functions

Type Name Description
const FStrin... GetRevision ()  
bool IsForced ()  
bool IsHeadRevisionFlagSet ()  
bool IsLastSyncedFlagSet ()  
void SetForce ( const bool bInForce )  
void SetHeadRevisionFlag ( const bool bInHeadRevision )  
void SetLastSyncedFlag ( const bool bInLastSynced )  
void SetRevision ( const FString& InRevision )  

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

Deprecated Functions

Type Name Description
void SetRevisionNumber ( int32 InRevisionNumber ) FSync::SetRevisionNumber(int32) has been deprecated. Please update to Fsync::SetRevision(const FString&).

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library