MCPcopy Create free account
hub / github.com/conventionalcommit/commitlint / HasBreakingFooter

Method HasBreakingFooter

test/helpers_test.go:39–46  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

37}
38
39func (m *mockCommit) HasBreakingFooter() bool {
40 for _, n := range m.notes {
41 if t := n.Token(); t == "BREAKING CHANGE" || t == "BREAKING-CHANGE" {
42 return true
43 }
44 }
45 return false
46}
47
48func (m *mockCommit) BodyBlankLines() int {
49 if m.body == "" {

Callers

nothing calls this directly

Calls 1

TokenMethod · 0.65

Tested by

no test coverage detected