FScopedSourceControl

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

Unreal Engine C++ API Reference > Developer > SourceControl

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

Type Name Description
  FScopedSourceControl () Constructor; Initializes Source Control Provider

Destructors

Type Name Description
  ~FScopedSourceControl () Destructor; Closes Source Control Provider

Functions

Type Name Description
ISourceContr... GetProvider () Get the provider we are using

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library