MCPcopy Index your code
hub / github.com/tinylib/msgp / ctxString

Function ctxString

msgp/errors_tinygo.go:11–20  ·  view source on GitHub ↗

ctxString converts the incoming interface{} slice into a single string, without using fmt under tinygo

(ctx []interface{})

Source from the content-addressed store, hash-verified

9// ctxString converts the incoming interface{} slice into a single string,
10// without using fmt under tinygo
11func ctxString(ctx []interface{}) string {
12 out := ""
13 for idx, cv := range ctx {
14 if idx > 0 {
15 out += "/"
16 }
17 out += ifToStr(cv)
18 }
19 return out
20}
21
22type stringer interface {
23 String() string

Callers 1

WrapErrorFunction · 0.70

Calls 1

ifToStrFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…