Mark File for Add

Mark File for Add

Windows
MacOS
Linux

Use currently set source control provider to mark a file for add. Does nothing (and returns true) if the file is already under SC Note: Blocks until action is complete.

Target is Source Control Helpers

Mark File for Add
In File
Silent
Return Value

Inputs

In
Exec
In File
String

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)

Silent
Boolean

if false (default) then write out any error info to the Log. Any error text can be retrieved by LastErrorMsg() regardless.

Outputs

Out
Exec
Return Value
Boolean

true if succeeded, false if failed and can call LastErrorMsg() for more info.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss