repostatus/structs.go

79 lines
1.6 KiB
Go

package repostatus
import (
"go.wit.com/gui"
"go.wit.com/lib/gadgets"
)
type RepoStatus struct {
ready bool
// keeps track of changes that might have happened
changed bool
changes 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
dirtyLabel *gadgets.OneLiner
readOnly *gadgets.OneLiner
gitState *gadgets.OneLiner
primitive *gadgets.OneLiner
path *gadgets.OneLiner
goSrcPath *gadgets.OneLiner
goPath *gadgets.OneLiner
realPath *gadgets.OneLiner
isGoLang *gadgets.OneLiner
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
versionMessage *gadgets.BasicEntry
versionCmds [][]string
versionCmdOutput *gadgets.OneLiner
targetReleaseVersion *gadgets.OneLiner
newversion *gui.Node
gitBranchesGroup *gui.Node
gitStatusGroup *gui.Node
gitCommandsGroup *gui.Node
showBranchesButton *gui.Node
checkBranchesButton *gui.Node
speed *gadgets.OneLiner
speedActual *gadgets.OneLiner
gitConfig *GitConfig
goConfig GoConfig
switchBranchB *gui.Node
targetBranch *gui.Node
}