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

Interface Parser

commit/commit.go:32–34  ·  view source on GitHub ↗

Parser parses a commit message into a Commit.

Source from the content-addressed store, hash-verified

30
31// Parser parses a commit message into a Commit.
32type Parser interface {
33 Parse(msg string) (Commit, error)
34}

Callers 8

TestSyntaxAdapterFunction · 0.95
TestSyntaxAdapterErrorsFunction · 0.95
BenchmarkSyntaxAdapterFunction · 0.95
ParseAndLintMethod · 0.65
TestCommitHelpersFunction · 0.65
ParseMethod · 0.65

Implementers 2

defaultParsercommit/parser.go
customParsertest/syntax_parser_test.go

Calls

no outgoing calls

Tested by

no test coverage detected