FScopedSourceControl

Helper class that ensures FSourceControl is properly initialized and shutdown by calling Init/Close in its constructor/destructor respectively.

Windows
MacOS
Linux

References

Module

SourceControl

Header

/Engine/Source/Developer/SourceControl/Public/SourceControlHelpers.h

Include

#include "SourceControlHelpers.h"

Syntax

class FScopedSourceControl

Remarks

Helper class that ensures FSourceControl is properly initialized and shutdown by calling Init/Close in its constructor/destructor respectively.

Constructors

Name Description

Public function

FScopedSourceControl()

Constructor; Initializes Source Control Provider

Destructors

Name Description

Public function

~FScopedSourceControl()

Destructor; Closes Source Control Provider

Functions

Name Description

Public function

ISourceContr...

 

GetProvider()

Get the provider we are using

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss