ISourceControlProvider::Execute

Attempt to execute an operation on the passed-in files (if any are required).

Windows
MacOS
Linux

References

Module

SourceControl

Header

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

Include

#include "ISourceControlProvider.h"

Syntax

ECommandResult::Type Execute
(
    const TSharedRef< ISourceControlOperation, ESPMode::ThreadSafe > & InOperation,
    const TArray< FString > & InFiles,
    EConcurrency::Type InConcurrency,
    const FSourceControlOperationComplete & InOperationCompleteDelegate
)

Remarks

Attempt to execute an operation on the passed-in files (if any are required).

Returns

the result of the operation.

Parameters

Parameter

Description

InOperation

The operation to perform.

InFiles

The files to operate on.

InConcurrency

How to execute the operation, blocking or asynchronously on another thread.

InOperationCompleteDelegate

Delegate to call when the operation is completed. This is called back internal to this call when executed on the main thread, or from Tick() when queued for asynchronous execution. If the provider is not enabled or if the command is not suported the delegate is immediately called with ECommandResult::Failed.

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