MCPcopy
hub / github.com/valyala/quicktemplate / WriteLineComment

Method WriteLineComment

parser/scanner.go:458–460  ·  view source on GitHub ↗
(w io.Writer)

Source from the content-addressed store, hash-verified

456}
457
458func (s *scanner) WriteLineComment(w io.Writer) {
459 fmt.Fprintf(w, "//line %s:%d\n", s.filePath, s.t.line+1)
460}
461
462func snippet(s []byte) string {
463 if len(s) <= 40 {

Callers 1

PrintfMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected