Module |
|
Header |
/Engine/Source/Developer/SourceControl/Public/SourceControlHelpers.h |
Include |
#include "SourceControlHelpers.h" |
Source |
/Engine/Source/Developer/SourceControl/Private/SourceControlHelpers.cpp |
Use currently set source control provider to mark a file for add. Does nothing (and returns true) if the file is already under SC
Blocks until action is complete.
true if succeeded, false if failed and can call LastErrorMsg() for more info.
Parameter |
Description |
---|---|
InFile |
The file to add - 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. |