summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
Diffstat (limited to 'structs.go')
-rw-r--r--structs.go38
1 files changed, 38 insertions, 0 deletions
diff --git a/structs.go b/structs.go
new file mode 100644
index 0000000..b2b8b94
--- /dev/null
+++ b/structs.go
@@ -0,0 +1,38 @@
+package repostatus
+
+import (
+ "go.wit.com/gui/gui"
+ "go.wit.com/gui/gadgets"
+)
+
+type RepoStatus struct {
+ ready bool
+ hidden bool
+ changed bool
+
+ repopath string
+ lasttagrev string
+ tags map[string]string
+
+ parent *gui.Node
+
+ window *gadgets.BasicWindow
+ group *gui.Node
+ grid *gui.Node
+
+// status *gadgets.OneLiner
+ dirtyLabel *gadgets.OneLiner
+ path *gadgets.OneLiner
+
+ currentBranch *gadgets.OneLiner
+ currentVersion *gadgets.OneLiner
+ tagsDrop *gui.Node
+
+ lasttag *gadgets.OneLiner
+ masterBranch *gadgets.OneLiner
+ develBranch *gadgets.OneLiner
+ jcarrBranch *gadgets.OneLiner
+
+ speed *gadgets.OneLiner
+ speedActual *gadgets.OneLiner
+}