Navigation
API > API/Developer > API/Developer/SourceControl > API/Developer/SourceControl/USourceControlHelpers
References
| Module | SourceControl |
| Header | /Engine/Source/Developer/SourceControl/Public/SourceControlHelpers.h |
| Include | #include "SourceControlHelpers.h" |
| Source | /Engine/Source/Developer/SourceControl/Private/SourceControlHelpers.cpp |
UFUNCTION (BlueprintCallable, Category="Editor Scripting | Editor Revision Control Helpers",
Meta=(Keywords="Source Control"))
static void AsyncQueryFileState
(
FQueryFileStateDelegate FileStateCallback,
const FString & InFile,
bool bSilent
)
Remarks
Query the source control state of the specified file, asynchronously.
Parameters
| Name | Description |
|---|---|
| FileStateCallback | Source control state - see USourceControlState. It will have bIsValid set to false if it could not have its values set. |
| InFile | The file to query - can be either fully qualified path, relative path, long package name, asset path or export text path (often stored on clipboard) |
| bSilent | if false (default) then write out any error info to the Log. Any error text can be retrieved by LastErrorMsg() regardless. |