summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-01-30 11:02:37 -0600
committerJeff Carr <[email protected]>2025-01-30 11:02:37 -0600
commitb91475b55b93a87aabb63e661a46d85c28623eb9 (patch)
treed9dd098e1ce66e47aa21fa6e41d61ee83658677b /structs.go
parent8247d748bd26be6eb87a978573b0d435e83178a1 (diff)
switching from the old way to using protobufv0.22.49v0.22.48v0.22.47v0.22.46v0.22.45v0.22.44
Diffstat (limited to 'structs.go')
-rw-r--r--structs.go47
1 files changed, 18 insertions, 29 deletions
diff --git a/structs.go b/structs.go
index 1acac33..3a4360d 100644
--- a/structs.go
+++ b/structs.go
@@ -39,39 +39,28 @@ type RepoList struct {
reposgrid *gui.Node
reposgroup *gui.Node
- // put things here that can't be seen
- blind *gui.Node
-
+ blind *gui.Node // put things here that can't be seen
shownCount *gui.Node
hideFunction func(*RepoRow)
duration *gui.Node
-
- rows []*RepoRow
+ rows []*RepoRow
}
type RepoRow struct {
- hidden bool
- lasttagrev string
- // lasttag string
- giturl string
- pb *gitpb.Repo
-
- pLabel *gui.Node // path label
-
- targetV *gui.Node // the target version
- lastTag *gui.Node // last tagged version label
- currentName *gui.Node // current branch name
- currentVersion *gui.Node // current branch version
- // gitState *gui.Node // git state (dirty or not?)
- pbState *gui.Node // the state of the protobuf
-
- masterVersion *gui.Node // the master branch version
- develVersion *gui.Node // the devel branch version
- userVersion *gui.Node // the user branch version
-
- endBox *gui.Node // a general box at the end of the row
- statusButton *gui.Node // opens up the status window
- diffButton *gui.Node // opens up the status window
-
- Status *repostatus.RepoStatus
+ hidden bool // is it currently hidden from view?
+ pb *gitpb.Repo // the underlying protobuf
+ pLabel *gui.Node // path label
+ targetV *gui.Node // the target version
+ lastTag *gui.Node // last tagged version label
+ currentName *gui.Node // current branch name
+ currentVersion *gui.Node // current branch version
+ pbState *gui.Node // the state of the protobuf
+ masterVersion *gui.Node // the master branch version
+ develVersion *gui.Node // the devel branch version
+ userVersion *gui.Node // the user branch version
+ endBox *gui.Node // a general box at the end of the row
+ statusButton *gui.Node // opens up the status window
+ diffButton *gui.Node // opens up the status window
+ Status *repostatus.RepoStatus // todo: move that code here?
+ commitB *gui.Node // the git commit button
}