MCPcopy Index your code
hub / github.com/conventionalcommit/commitlint / Commit

Interface Commit

lint/lint.go:30–40  ·  view source on GitHub ↗

Commit represent a commit message

Source from the content-addressed store, hash-verified

28
29// Commit represent a commit message
30type Commit interface {
31 Message() string
32 Header() string
33 Body() string
34 Footer() string
35 Type() string
36 Scope() string
37 Description() string
38 Notes() []Note
39 IsBreakingChange() bool
40}
41
42// Parser parses given commit message
43type Parser interface {

Callers 48

LintMethod · 0.65
ValidateMethod · 0.65
ValidateMethod · 0.65
ValidateMethod · 0.65
ValidateMethod · 0.65
ValidateMethod · 0.65
ValidateMethod · 0.65
ValidateMethod · 0.65
ValidateMethod · 0.65
ValidateMethod · 0.65
ValidateMethod · 0.65
ValidateMethod · 0.65

Implementers 1

mockCommittest/helpers_test.go

Calls

no outgoing calls

Tested by

no test coverage detected