From 1e8cedca4d03829fadd532e9c5980dbb0eeab4bb Mon Sep 17 00:00:00 2001 From: ewy Date: Wed, 22 Apr 2026 22:06:24 +0200 Subject: docs --- model/state.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'model/state.go') 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 -- cgit v1.3.1