Commit represents a parsed conventional commit message.
| 10 | |
| 11 | // Commit represents a parsed conventional commit message. |
| 12 | type Commit interface { |
| 13 | Message() string |
| 14 | Header() string |
| 15 | Body() string |
| 16 | Footer() string |
| 17 | Type() string |
| 18 | Scope() string |
| 19 | Description() string |
| 20 | Notes() []Note |
| 21 | IsBreakingChange() bool |
| 22 | |
| 23 | HasHeaderBang() bool |
| 24 | HasBreakingFooter() bool |
| 25 | BodyBlankLines() int |
| 26 | FooterBlankLines() int |
| 27 | NoteCount() int |
| 28 | NoteAt(index int) Note |
| 29 | } |
| 30 | |
| 31 | // Parser parses a commit message into a Commit. |
| 32 | type Parser interface { |
no outgoing calls
no test coverage detected