Navigation
Unreal Engine C++ API Reference > Developer > SourceControl > ISourceControlProvider > GetState
References
Module | SourceControl |
Header | /Engine/Source/Developer/SourceControl/Public/ISourceControlProvider.h |
Include | #include "ISourceControlProvider.h" |
[ECommandResult::Type](API\Developer\SourceControl\ECommandResult__Type) GetState ( const [TArray](API\Runtime\Core\Containers\TArray)< [FString](API\Runtime\Core\Containers\FString) > & InFiles, [TArray](API\Runtime\Core\Containers\TArray)< [FSourceControlStateRef](API\Developer\SourceControl\FSourceControlStateRef) > & OutState, [EStateCacheUsage::Type](API\Developer\SourceControl\EStateCacheUsage__Type) InStateCacheUsage )
Remarks
Get the state of each of the passed-in files. State may be cached for faster queries. Note states can be NULL! the result of the operation.
Parameters
Name | Description |
---|---|
InFiles | The files to retrieve state for. |
OutState | The states of the files. This will be empty if the operation fails. Note states can be NULL! |
InStateCacheUsage | Whether to use the state cache or to force a (synchronous) state retrieval. |