(s v1.BrowserState)
| 817 | Docs: nil, |
| 818 | Split: nil, |
| 819 | }) |
| 820 | } |
| 821 | |
| 822 | return highlights, false |
| 823 | } |
| 824 | |
| 825 | func (g FeatureDiffV1SummaryGenerator) processSplits(highlights []SummaryHighlight, |
| 826 | splits []v1.FeatureSplit) ([]SummaryHighlight, bool) { |
| 827 | for _, split := range splits { |
| 828 | if len(highlights) >= MaxHighlights { |
| 829 | return highlights, true |
| 830 | } |
| 831 | var to []FeatureRef |
| 832 | for _, t := range split.To { |
| 833 | to = append(to, FeatureRef{ |
| 834 | ID: t.ID, |
| 835 | Name: t.Name, |
| 836 | QueryMatch: toQueryMatchStatus(t.QueryMatch), |
| 837 | }) |
| 838 | } |
| 839 | highlights = append(highlights, SummaryHighlight{ |
| 840 | Type: SummaryHighlightTypeSplit, |
| 841 | FeatureID: split.FromID, |
| 842 | FeatureName: split.FromName, |
| 843 | Split: &SplitChange{ |
| 844 | From: FeatureRef{ |
| 845 | ID: split.FromID, |
no outgoing calls
no test coverage detected