MCPcopy
hub / github.com/github/git-sizer / Printf

Function Printf

internal/pipe/print.go:29–37  ·  view source on GitHub ↗
(format string, a ...interface{})

Source from the content-addressed store, hash-verified

27}
28
29func Printf(format string, a ...interface{}) Stage {
30 return Function(
31 "printf",
32 func(_ context.Context, _ Env, _ io.Reader, stdout io.Writer) error {
33 _, err := fmt.Fprintf(stdout, format, a...)
34 return err
35 },
36 )
37}

Callers 1

TestPrintfFunction · 0.92

Calls 1

FunctionFunction · 0.85

Tested by 1

TestPrintfFunction · 0.74