diff options
| author | ewy <ewy0@protonmail.com> | 2026-04-22 22:06:24 +0200 |
|---|---|---|
| committer | ewy <ewy0@protonmail.com> | 2026-04-22 22:06:24 +0200 |
| commit | 1e8cedca4d03829fadd532e9c5980dbb0eeab4bb (patch) | |
| tree | 90745c56ab9c3feec790ba001683a19f4e360eb8 /model/state.go | |
| parent | d88661935fa2b6e2c0fe93345800113e1a71b451 (diff) | |
docs
Diffstat (limited to 'model/state.go')
| -rw-r--r-- | model/state.go | 6 |
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 |
