Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
458
func
(s *scanner) WriteLineComment(w io.Writer) {
459
fmt.Fprintf(w,
"//line %s:%d\n"
, s.filePath, s.t.line+1)
460
}
461
462
func
snippet(s []byte) string {
463
if
len(s) <= 40 {
Callers
1
Printf
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected