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

Method Parse

commit/commit.go:33–33  ·  view source on GitHub ↗
(msg string)

Source from the content-addressed store, hash-verified

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 6

TestSyntaxAdapterFunction · 0.76
TestSyntaxAdapterErrorsFunction · 0.76
BenchmarkSyntaxAdapterFunction · 0.76
TestCommitHelpersFunction · 0.52