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 |
static bool CheckInFile
&40;
const FString & InFile,
const FString & InDescription,
bool bSilent,
bool bKeepCheckedOut
&41;
Remarks
Use currently set source control provider to check in a file.
Blocks until action is complete. true if succeeded, false if failed and can call LastErrorMsg() for more info.
Parameters
| Name | Description |
|---|---|
| InFile | The file to check in - can be either fully qualified path, relative path, long package name, asset path or export text path (often stored on clipboard) |
| InDescription | Description for check in |
| bSilent | if false (default) then write out any error info to the Log. Any error text can be retrieved by LastErrorMsg() regardless. |
| bKeepCheckedOut | Keep files checked-out after checking in. This is helpful for maintaining "ownership" of files if further operations are needed. |