MCPcopy Create free account
hub / github.com/cockroachdb/errors / strfy

Function strfy

fmttests/datadriven_test.go:858–871  ·  view source on GitHub ↗
(args []arg)

Source from the content-addressed store, hash-verified

856type commandFn func(inputErr error, args []arg) (resultErr error)
857
858func strfy(args []arg) string {
859 var out strings.Builder
860 sp := ""
861 for _, arg := range args {
862 out.WriteString(sp)
863 if len(arg.Vals) == 0 {
864 out.WriteString(arg.Key)
865 } else {
866 out.WriteString(strings.Join(arg.Vals, " "))
867 }
868 sp = "\n"
869 }
870 return out.String()
871}
872
873// interceptingTransport is an implementation of sentry.Transport that
874// delegates calls to the SendEvent method to the send function contained

Callers 1

datadriven_test.goFile · 0.85

Calls 1

StringMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…