MCPcopy 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
78func 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

ReuseStepFunction · 0.85
beginStepFunction · 0.85

Calls 1

ValueMethod · 0.45

Tested by 1