Navigation
API > API/Developer > API/Developer/SourceControl > API/Developer/SourceControl/ISourceControlProvider > API/Developer/SourceControl/ISourceControlProvider/GetState
References
| Module | SourceControl |
| Header | /Engine/Source/Developer/SourceControl/Public/ISourceControlProvider.h |
| Include | #include "ISourceControlProvider.h" |
ECommandResult::Type GetState
&40;
const TArray< FString > & InFiles,
TArray< FSourceControlStateRef > & OutState,
EStateCacheUsage::Type InStateCacheUsage
&41;
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. |