MCPcopy
hub / github.com/pkg/errors / callers

Function callers

stack.go:163–169  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

161}
162
163func callers() *stack {
164 const depth = 32
165 var pcs [depth]uintptr
166 n := runtime.Callers(3, pcs[:])
167 var st stack = pcs[0:n]
168 return &st
169}
170
171// funcname removes the path prefix component of a function's name reported by func.Name().
172func funcname(name string) string {

Callers 5

NewFunction · 0.85
ErrorfFunction · 0.85
WithStackFunction · 0.85
WrapFunction · 0.85
WrapfFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…