Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Model ¶
type Model struct {
// contains filtered or unexported fields
}
Model is the Backups page: a merged, newest-first list of stored versions of the compose file and the .env (each tagged with its source), beside a live preview of the selected copy. It is the sole component on its page, so it fills the whole body row and is always focused.
func (Model) SelectedBackupName ¶
SelectedBackupName returns the .bak name of the selected row, or "".
func (Model) SelectedSourceFile ¶
SelectedPath returns the live file path the selected row would restore to, derived from the source tag. It is empty when the list is empty or nothing is selected.
Click to show internal directories.
Click to hide internal directories.