Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/coder/coder
/ closeAfterContext
Method
closeAfterContext
cli/ssh.go:1361–1364 ·
view source on GitHub ↗
(ctx context.Context)
Source
from the content-addressed store, hash-verified
1359
}
1360
1361
func
(c *closerStack) closeAfterContext(ctx context.Context) {
1362
<-ctx.Done()
1363
c.close(ctx.Err())
1364
}
1365
1366
func
(c *closerStack) close(err error) {
1367
c.Lock()
Callers
1
newCloserStack
Function · 0.95
Calls
3
close
Method · 0.95
Err
Method · 0.80
Done
Method · 0.45
Tested by
no test coverage detected