MCPcopy
hub / github.com/monasticacademy/httptap / fprintf

Function fprintf

experiments/goproxy/goproxy-experiment.go:59–66  ·  view source on GitHub ↗
(nr *int64, err *error, w io.Writer, pat string, a ...interface{})

Source from the content-addressed store, hash-verified

57}
58
59func fprintf(nr *int64, err *error, w io.Writer, pat string, a ...interface{}) {
60 if *err != nil {
61 return
62 }
63 var n int
64 n, *err = fmt.Fprintf(w, pat, a...)
65 *nr += int64(n)
66}
67
68func write(nr *int64, err *error, w io.Writer, b []byte) {
69 if *err != nil {

Callers 1

WriteToMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected