(e *ai.LocalModelInstallState, c *EditLocalModelInstallState)
| 193 | } |
| 194 | |
| 195 | func (i *imlLocalModelInstallStateService) updateHandler(e *ai.LocalModelInstallState, c *EditLocalModelInstallState) { |
| 196 | if c.Complete != nil { |
| 197 | e.Complete = *c.Complete |
| 198 | } |
| 199 | if c.Total != nil { |
| 200 | e.Total = *c.Total |
| 201 | } |
| 202 | if c.State != nil { |
| 203 | e.State = *c.State |
| 204 | } |
| 205 | if c.Msg != nil { |
| 206 | e.LastMsg = *c.Msg |
| 207 | } |
| 208 | e.UpdateAt = time.Now() |
| 209 | } |
| 210 | |
| 211 | var _ ILocalModelCacheService = &imlLocalModelCacheService{} |
| 212 |
nothing calls this directly
no outgoing calls
no test coverage detected