MCPcopy Create free account
hub / github.com/maruel/panicparse / createdByString

Method createdByString

internal/ui.go:69–74  ·  view source on GitHub ↗
(s *stack.Signature)

Source from the content-addressed store, hash-verified

67}
68
69func (pf pathFormat) createdByString(s *stack.Signature) string {
70 if len(s.CreatedBy.Calls) == 0 {
71 return ""
72 }
73 return s.CreatedBy.Calls[0].Func.DirName + "." + s.CreatedBy.Calls[0].Func.Name + " @ " + pf.formatCall(&s.CreatedBy.Calls[0])
74}
75
76// calcBucketsLengths returns the maximum length of the source lines and
77// package names.

Callers 2

BucketHeaderMethod · 0.80
GoroutineHeaderMethod · 0.80

Calls 1

formatCallMethod · 0.95

Tested by

no test coverage detected