diff options
Diffstat (limited to 'structs.go')
| -rw-r--r-- | structs.go | 49 |
1 files changed, 20 insertions, 29 deletions
@@ -6,26 +6,20 @@ import ( ) type RepoStatus struct { - ready bool - - // keeps track of changes that might have happened - changed bool + ready bool + changed bool // keeps track of changes that might have happened changes string + dirty bool // updates each time CheckDirty() is run + tags map[string]string - // updates each time CheckDirty() is run - dirty bool - - tags map[string]string - - window *gadgets.BasicWindow - - // a box of all the git tags - Tags *GitTagBox + window *gadgets.BasicWindow // the main window for this repo + Tags *GitTagBox // a box of all the git tags dirtyLabel *gadgets.OneLiner readOnly *gadgets.OneLiner gitState *gadgets.OneLiner primitive *gadgets.OneLiner + private *gadgets.OneLiner path *gadgets.OneLiner goSrcPath *gadgets.OneLiner @@ -36,22 +30,19 @@ type RepoStatus struct { currentBranch *gadgets.OneLiner currentVersion *gadgets.OneLiner - lasttag *gadgets.OneLiner - mainBranchVersion *gadgets.OneLiner - develBranchVersion *gadgets.OneLiner - userBranchVersion *gadgets.OneLiner - - mainWorkingName *gadgets.OneLiner - develWorkingName *gadgets.OneLiner - userWorkingName *gadgets.OneLiner - - develMergeB *gui.Node - mainMergeB *gui.Node - releaseVersion *gui.Node - - minor *gadgets.BasicCombobox - major *gadgets.BasicCombobox - revision *gadgets.BasicCombobox + mainWorkingName *gadgets.OneLiner // the actual name of the primary branch + develWorkingName *gadgets.OneLiner // the actual name of the devel branch + userWorkingName *gadgets.OneLiner // the actual name of the user branch + develMergeB *gui.Node // button to merge from user to devel + mainMergeB *gui.Node // button to merge from devel to master + releaseVersion *gui.Node // the release version + minor *gadgets.BasicCombobox // the '3' in version v3.1.4 + major *gadgets.BasicCombobox // the '1' in version v3.1.4 + revision *gadgets.BasicCombobox // the '4' in version v3.1.4 + lasttag *gadgets.OneLiner // the last tag version + mainBranchVersion *gadgets.OneLiner // the primary branch version + develBranchVersion *gadgets.OneLiner // the devel branch version + userBranchVersion *gadgets.OneLiner // the user branch version versionMessage *gadgets.BasicEntry versionCmds [][]string |
