Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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.
32
type
Parser
interface
{
33
Parse(msg string) (Commit, error)
34
}
Callers
8
TestSyntaxAdapter
Function · 0.95
TestSyntaxAdapterErrors
Function · 0.95
TestSyntaxInspectionAdapter
Function · 0.95
BenchmarkSyntaxAdapter
Function · 0.95
ParseAndLint
Method · 0.65
TestSyntaxAdapterWithoutNotes
Function · 0.65
TestCommitHelpers
Function · 0.65
Parse
Method · 0.65
Implementers
2
defaultParser
commit/parser.go
customParser
test/syntax_parser_test.go
Calls
no outgoing calls
Tested by
6
TestSyntaxAdapter
Function · 0.76
TestSyntaxAdapterErrors
Function · 0.76
TestSyntaxInspectionAdapter
Function · 0.76
BenchmarkSyntaxAdapter
Function · 0.76
TestSyntaxAdapterWithoutNotes
Function · 0.52
TestCommitHelpers
Function · 0.52