Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/coder/coder
/ reuseHolderFromContext
Function
reuseHolderFromContext
coderd/x/chatd/chatdebug/context.go:78–84 ·
view source on GitHub ↗
(ctx context.Context)
Source
from the content-addressed store, hash-verified
76
}
77
78
func
reuseHolderFromContext(ctx context.Context) (*reuseHolder, bool) {
79
holder, ok := ctx.Value(reuseStepKey{}).(*reuseHolder)
80
if
!ok {
81
return
nil, false
82
}
83
return
holder, true
84
}
Callers
3
TestReuseStep_PreservesExistingHolder
Function · 0.85
ReuseStep
Function · 0.85
beginStep
Function · 0.85
Calls
1
Value
Method · 0.45
Tested by
1
TestReuseStep_PreservesExistingHolder
Function · 0.68