MCPcopy Index your code
hub / github.com/maruel/panicparse / String

Method String

stack/stack.go:233–247  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

231}
232
233func (a *Args) String() string {
234 var v []string
235 if len(a.Processed) != 0 {
236 v = a.Processed
237 } else {
238 v = make([]string, 0, len(a.Values))
239 for _, item := range a.Values {
240 v = append(v, item.String())
241 }
242 }
243 if a.Elided {
244 v = append(v, "...")
245 }
246 return strings.Join(v, ", ")
247}
248
249// equal returns true only if both arguments are exactly equal.
250func (a *Args) equal(r *Args) bool {

Callers 1

TestArgsFunction · 0.95

Calls 1

StringMethod · 0.45

Tested by 1

TestArgsFunction · 0.76