MCPcopy Index your code
hub / github.com/coder/coder / FuncName

Function FuncName

coderd/tracing/util.go:22–24  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

20const TracerName = "coderd"
21
22func FuncName() string {
23 return FuncNameSkip(1)
24}
25
26func FuncNameSkip(skip int) string {
27 fnpc, _, _, ok := runtime.Caller(1 + skip)

Callers 15

doExpireOldAgentsMethod · 0.92
CommitQuotaMethod · 0.92
UpdateJobMethod · 0.92
FailJobMethod · 0.92
CompleteJobMethod · 0.92
TestFuncNameFunction · 0.92
barMethod · 0.92
bazMethod · 0.92
acquireAndRunOneMethod · 0.92
initMethod · 0.92
RunMethod · 0.92
updateMethod · 0.92

Calls 1

FuncNameSkipFunction · 0.85

Tested by 3

TestFuncNameFunction · 0.74
barMethod · 0.74
bazMethod · 0.74