(m *model)
| 74 | } |
| 75 | |
| 76 | func (msg ProcessBarUpdateMsg) ApplyToModel(m *model) tea.Cmd { |
| 77 | cmd, err := msg.pMsg.Apply(&m.processBarModel) |
| 78 | if err != nil { |
| 79 | slog.Error("Error applying processbar update", "error", err) |
| 80 | } |
| 81 | return processCmdToTeaCmd(cmd) |
| 82 | } |
| 83 | |
| 84 | type CompressOperationMsg struct { |
| 85 | BaseMessage |
nothing calls this directly
no test coverage detected