repostatus/structs.go

74 lines
1.5 KiB
Go
Raw Normal View History

2024-01-09 15:34:53 -06:00
package repostatus
import (
"go.wit.com/gui"
"go.wit.com/lib/gadgets"
2024-01-09 15:34:53 -06:00
)
type RepoStatus struct {
2024-02-16 17:55:13 -06:00
ready bool
// keeps track of changes that might have happened
changed bool
2024-02-16 17:55:13 -06:00
changes string
2024-01-09 15:34:53 -06:00
tags map[string]string
2024-01-09 15:34:53 -06:00
window *gadgets.BasicWindow
2024-01-09 15:34:53 -06:00
// a box of all the git tags
Tags *gitTagBox
dirtyLabel *gadgets.OneLiner
readOnly *gadgets.OneLiner
goSumStatus *gadgets.OneLiner
path *gadgets.OneLiner
goSrcPath *gadgets.OneLiner
realPath *gadgets.OneLiner
2024-02-16 11:41:29 -06:00
isGoLang *gadgets.OneLiner
2024-01-09 15:34:53 -06:00
currentBranch *gadgets.OneLiner
currentVersion *gadgets.OneLiner
2024-01-09 15:34:53 -06:00
lasttag *gadgets.OneLiner
masterBranchVersion *gadgets.OneLiner
develBranchVersion *gadgets.OneLiner
userBranchVersion *gadgets.OneLiner
2024-01-09 15:34:53 -06:00
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
2024-01-13 20:30:33 -06:00
checkBranchesButton *gui.Node
speed *gadgets.OneLiner
speedActual *gadgets.OneLiner
gitConfig *GitConfig
goConfig GoConfig
switchBranchB *gui.Node
targetBranch *gui.Node
2024-01-09 15:34:53 -06:00
}