summaryrefslogtreecommitdiff
path: root/model/state.go
diff options
context:
space:
mode:
Diffstat (limited to 'model/state.go')
-rw-r--r--model/state.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/model/state.go b/model/state.go
index 3ba2045..259684a 100644
--- a/model/state.go
+++ b/model/state.go
@@ -1,10 +1,14 @@
package model
+// State is the complete collection of sources and their targets
type State struct {
Sources []*Source
- All bool
+ // All contains whether --all was enabled during creation
+ All bool
}
+// HydratedState is an extension of the State which contains
+// additional information which we use to display the menu
type HydratedState struct {
*State
HydratedSources []*HydratedSource