MCPcopy Index your code
hub / github.com/google/gvisor / writeLine

Function writeLine

tools/bigquery/bigquery.go:51–57  ·  view source on GitHub ↗

writeLine writes a line of text to the given string builder with a prefix.

(sb *strings.Builder, prefix string, format string, values ...any)

Source from the content-addressed store, hash-verified

49
50// writeLine writes a line of text to the given string builder with a prefix.
51func writeLine(sb *strings.Builder, prefix string, format string, values ...any) {
52 if prefix != "" {
53 sb.WriteString(prefix)
54 }
55 sb.WriteString(fmt.Sprintf(format, values...))
56 sb.WriteString("\n")
57}
58
59// debugString writes debug information to the given string builder with the
60// given prefix.

Callers 4

debugStringMethod · 0.85
debugStringMethod · 0.85
debugStringMethod · 0.85
debugStringMethod · 0.85

Calls 1

WriteStringMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…