MCPcopy Create free account
hub / github.com/google/go-github / splitBreakingLines

Function splitBreakingLines

tools/gen-release-notes/main.go:96–105  ·  view source on GitHub ↗
(allLines []string)

Source from the content-addressed store, hash-verified

94}
95
96func splitBreakingLines(allLines []string) (breaking, nonBreaking []string) {
97 for _, pr := range allLines {
98 if strings.Contains(pr, "!: ") {
99 breaking = append(breaking, pr)
100 } else {
101 nonBreaking = append(nonBreaking, pr)
102 }
103 }
104 return breaking, nonBreaking
105}
106
107func genRefLines(breaking, nonBreaking []string) (ref, refNon []string) {
108 for _, pr := range breaking {

Callers 1

genReleaseNotesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…