MCPcopy
hub / github.com/duke-git/lancet / callers

Function callers

xerror/stack.go:214–220  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

212}
213
214func callers() *stack {
215 const depth = 32
216 var pcs [depth]uintptr
217 n := runtime.Callers(4, pcs[:])
218 var st stack = pcs[0:n]
219 return &st
220}
221
222// funcname removes the path prefix component of a function's name reported by func.Name().
223func funcname(name string) string {

Callers 1

newXErrorFunction · 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…