Skip to main content

Module commit

Module commit 

Source

Structs§

Commit
A raw commit as read from git history.
CommitType
Describes a recognised commit type.
ConventionalCommit
A commit parsed according to the Conventional Commits specification.
DefaultCommitClassifier
DefaultCommitParser
Default parser using the built-in DEFAULT_COMMIT_PATTERN regex.

Constants§

DEFAULT_COMMIT_PATTERN
Default conventional commits pattern. Named groups: type, scope (optional), breaking (optional !), description.

Traits§

CommitClassifier
Single source of truth for commit type classification.
CommitParser
Parses raw commits into conventional commits.

Functions§

default_commit_types