Module |
|
Header |
/Engine/Source/Developer/SourceControl/Public/SourceControlHelpers.h |
Include |
#include "SourceControlHelpers.h" |
struct FSourceControlState
Snapshot of source control state of for a file
Name | Description | ||
---|---|---|---|
|
bCanAdd |
Determine if this file can be added to source control (i.e. is part of the directory structure currently under source control) |
|
|
bCanCheckIn |
Determine if this file can be checked in. |
|
|
bCanCheckOut |
Determine if this file can be checked out |
|
|
bCanDelete |
Determine if source control allows this file to be deleted. |
|
|
bCanEdit |
Determine if source control allows this file to be edited |
|
|
bCanRevert |
Determine if this file can be reverted, i.e. discard changes and the file will no longer be checked-out. |
|
|
bIsAdded |
Determine if this file is marked for add @note if already checked in then not considered mid add |
|
|
bIsCheckedOut |
Determine if this file is checked out |
|
|
bIsCheckedOutOther |
Determine if this file is checked out by someone else |
|
|
bIsConflicted |
Determine if this file is in a conflicted state |
|
|
bIsCurrent |
Determine if this file is up-to-date with the version in source control |
|
|
bIsDeleted |
Determine if this file is marked for delete |
|
|
bIsIgnored |
Determine if this file is ignored by source control |
|
|
bIsModified |
Determine if this file is modified compared to the version in source control. |
|
|
bIsSourceControlled |
Determine if this file is under source control |
|
|
bIsUnknown |
Determine if we know anything about the source control state of this file |
|
|
bIsValid |
Indicates whether this source control state has valid information (true) or not (false) |
|
|
CheckedOutOther |
Get name of other user who this file already checked out or "" if no other user has it checked out |
|
|
Filename |
Get the local filename that this state represents |
Name | Description | |
---|---|---|
|
FSourceControlState() |