MCPcopy Index your code
hub / github.com/belak/gitdir / writeStringFmt

Function writeStringFmt

utils.go:65–68  ·  view source on GitHub ↗
(w io.Writer, format string, args ...interface{})

Source from the content-addressed store, hash-verified

63}
64
65func writeStringFmt(w io.Writer, format string, args ...interface{}) error {
66 _, err := io.WriteString(w, fmt.Sprintf(format, args...))
67 return err
68}
69
70func getExitStatusFromError(err error) int {
71 if err == nil {

Callers 4

TestWriteStringFmtFunction · 0.85
cmdWhoamiFunction · 0.85
cmdNotFoundFunction · 0.85
cmdRepoActionMethod · 0.85

Calls

no outgoing calls

Tested by 1

TestWriteStringFmtFunction · 0.68