MCPcopy Create free account
hub / github.com/google/pprof / fprint

Method fprint

internal/driver/options.go:86–92  ·  view source on GitHub ↗
(f *os.File, args []interface{})

Source from the content-addressed store, hash-verified

84}
85
86func (ui *stdUI) fprint(f *os.File, args []interface{}) {
87 text := fmt.Sprint(args...)
88 if !strings.HasSuffix(text, "\n") {
89 text += "\n"
90 }
91 f.WriteString(text)
92}
93
94// oswriter implements the Writer interface using a regular file.
95type oswriter struct{}

Callers 2

PrintMethod · 0.95
PrintErrMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected