MCPcopy Index your code
hub / github.com/antonmedv/gitmal / newTestParser

Function newTestParser

pkg/gitdiff/parser_test.go:505–511  ·  view source on GitHub ↗
(input string, init bool)

Source from the content-addressed store, hash-verified

503}
504
505func newTestParser(input string, init bool) *parser {
506 p := newParser(bytes.NewBufferString(input))
507 if init {
508 _ = p.Next()
509 }
510 return p
511}

Callers 12

TestLineOperationsFunction · 0.85
TestParseNextFileHeaderFunction · 0.85
TestParseBinaryMarkerFunction · 0.85
TestParseBinaryChunkFunction · 0.85
TestParseBinaryFragmentsFunction · 0.85
TestParseTextChunkFunction · 0.85
TestParseTextFragmentsFunction · 0.85
TestParseGitFileHeaderFunction · 0.85

Calls 2

newParserFunction · 0.85
NextMethod · 0.80

Tested by

no test coverage detected