MCPcopy Create free account
hub / github.com/antonmedv/gitmal / lineCountErr

Function lineCountErr

pkg/gitdiff/gitdiff.go:152–154  ·  view source on GitHub ↗
(kind string, actual, reported int64)

Source from the content-addressed store, hash-verified

150}
151
152func lineCountErr(kind string, actual, reported int64) error {
153 return fmt.Errorf("fragment contains %d %s lines but reports %d", actual, kind, reported)
154}
155
156// Line is a line in a text fragment.
157type Line struct {

Callers 1

ValidateMethod · 0.85

Calls 1

ErrorfMethod · 0.80

Tested by

no test coverage detected