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

Function newFunc

internal/ui_test.go:175–181  ·  view source on GitHub ↗
(s string)

Source from the content-addressed store, hash-verified

173//
174
175func newFunc(s string) stack.Func {
176 f := stack.Func{}
177 if err := f.Init(s); err != nil {
178 panic(err)
179 }
180 return f
181}
182
183func newCallLocal(f string, a stack.Args, s string, l int) stack.Call {
184 c := stack.Call{Func: newFunc(f), Args: a, RemoteSrcPath: s, Line: l}

Callers 1

newCallLocalFunction · 0.70

Calls 1

InitMethod · 0.95

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…