blob: 259684a1bc28353ce160dd3fb7ca5df91c4eadeb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
package model
// State is the complete collection of sources and their targets
type State struct {
Sources []*Source
// 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
}
|