Version |
public class VersionControlEditorModel : INotifyPropertyChanged, IDisposable
The VersionControlEditorModel type exposes the following members.
| Name | Description | |
|---|---|---|
| BranchNames | The names of all the available branches in the repository. | |
| CanCommit | Whether committing is possible (i.e. there are saved or unsaved changes). | |
| CanEnableVersionControl | Whether version control can currently be enabled for this document. | |
| CanUndoLocalChanges | Whether undoing local changes is possible (i.e. there are local changes, and there are existing commits). | |
| CurrentBranchName | The name of the current branch. | |
| CurrentCommitID | The ID of the current commit. | |
| CurrentCommitShortID | The short ID of the current commit. | |
| DocumentPath | The full path of this document. | |
| HasBranches | Whether there are any branches present in this repository. (Before the first commit, there will be none.) | |
| HasLocalChanges | Whether there are any uncommitted local changes. | |
| HasUnsavedChanges | Whether the document has any unsaved changes. | |
| IsDetachedHead | Whether the repository currently has a detached HEAD (i.e. we're viewing a previous commit). | |
| IsVersionControlEnabled | Whether version control is enabled for this document. | |
| ModifiedFiles | The structure of modified files for this repository. | |
| MostRecentBranchName | The name of the last actual branch to be selected. This is so that, having checked out a specific commit, the default option for which branch to return to is the one previously selected. | |
| RootFolder | The root folder in which to look for a Git repository. |
| Name | Description | |
|---|---|---|
| PropertyChanged | Occurs when a property value changes. |