MCPcopy Index your code
hub / github.com/conventionalcommit/commitlint / newResult

Function newResult

lint/result.go:9–14  ·  view source on GitHub ↗
(input string, issues ...*Issue)

Source from the content-addressed store, hash-verified

7}
8
9func newResult(input string, issues ...*Issue) *Result {
10 return &Result{
11 input: input,
12 issues: issues,
13 }
14}
15
16// Input returns the input commit message
17func (r *Result) Input() string { return r.input }

Callers 2

ParseAndLintMethod · 0.85
LintMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected