Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConventionalCommit ¶
type ConventionalCommit struct {
Original types.CommitOriginalMsg
conventionalcommitstype.ParsedCommit
}
func NewCommit ¶
func NewCommit(msg types.CommitOriginalMsg) (*ConventionalCommit, error)
func ParseCommit ¶
func ParseCommit(msg types.CommitOriginalMsg) (*ConventionalCommit, error)
func (ConventionalCommit) MajorChange ¶
func (c ConventionalCommit) MajorChange() bool
func (ConventionalCommit) MinorChange ¶
func (c ConventionalCommit) MinorChange() bool
func (ConventionalCommit) PatchChange ¶
func (c ConventionalCommit) PatchChange() bool
func (ConventionalCommit) StringHeader ¶
func (commit ConventionalCommit) StringHeader() string
func (*ConventionalCommit) Validate ¶
func (c *ConventionalCommit) Validate() error
type InvalidType ¶
type InvalidType struct {
// contains filtered or unexported fields
}
func (InvalidType) Error ¶
func (m InvalidType) Error() string
type NotParsedCommit ¶
type NotParsedCommit struct{}
func (NotParsedCommit) Error ¶
func (m NotParsedCommit) Error() string
Click to show internal directories.
Click to hide internal directories.