Query File State

Query File State

Windows
MacOS
Linux

Use currently set source control provider to query a file's source control state. Note: Blocks until action is complete.

Target is Source Control Helpers

Query File State
In File
Silent
Return Value

Inputs

In
Exec
In File
String

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)

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
Source Control State Structure

Source control state - see USourceControlState. It will have bIsValid set to false if it could not have its values set.

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback