Navigation
Unreal Engine C++ API Reference > Developer > SourceControl > ISourceControlProvider > Execute
References
Module | SourceControl |
Header | /Engine/Source/Developer/SourceControl/Public/ISourceControlProvider.h |
Include | #include "ISourceControlProvider.h" |
[ECommandResult::Type](API\Developer\SourceControl\ECommandResult__Type) Execute ( const [FSourceControlOperationRef](API\Developer\SourceControl\FSourceControlOperationRef) & InOperation, [FSourceControlChangelistPtr](API\Developer\SourceControl\FSourceControlChangelistPtr) InChangelist, const [TArray](API\Runtime\Core\Containers\TArray)< [FString](API\Runtime\Core\Containers\FString) > & InFiles, [EConcurrency::Type](API\Developer\SourceControl\EConcurrency__Type) InConcurrency, const [FSourceControlOperationComplete](API\Developer\SourceControl\FSourceControlOperationComplete) & InOperationCompleteDelegate )
Remarks
Attempt to execute an operation on the passed-in files (if any are required). the result of the operation.
Parameters
Name | Description |
---|---|
InOperation | The operation to perform. |
InChangelist | The changelist to operate on, can be null. |
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. |