(s v1.BaselineState)
| 790 | } |
| 791 | |
| 792 | func (g FeatureDiffV1SummaryGenerator) processMoves(highlights []SummaryHighlight, |
| 793 | moves []v1.FeatureMoved) ([]SummaryHighlight, bool) { |
| 794 | for _, m := range moves { |
| 795 | if len(highlights) >= MaxHighlights { |
| 796 | return highlights, true |
| 797 | } |
| 798 | highlights = append(highlights, SummaryHighlight{ |
| 799 | Type: SummaryHighlightTypeMoved, |
| 800 | FeatureID: m.ToID, // Use new ID after move |
| 801 | FeatureName: m.ToName, |
| 802 | Moved: &Change[FeatureRef]{ |
| 803 | From: FeatureRef{ |
| 804 | ID: m.FromID, |
| 805 | Name: m.FromName, |
| 806 | QueryMatch: "", |
| 807 | }, |
| 808 | To: FeatureRef{ |
| 809 | ID: m.ToID, |
| 810 | Name: m.ToName, |
| 811 | QueryMatch: toQueryMatchStatus(m.QueryMatch), |
| 812 | }, |
| 813 | }, |
| 814 | BrowserChanges: nil, |
| 815 | BaselineChange: nil, |
| 816 | NameChange: nil, |
| 817 | Docs: nil, |
| 818 | Split: nil, |
| 819 | }) |
| 820 | } |
no outgoing calls
no test coverage detected