Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/coder/coder
/ must
Function
must
coderd/files/cache_test.go:359–364 ·
view source on GitHub ↗
(t T, err error)
Source
from the content-addressed store, hash-verified
357
}
358
359
func
must[T any](t T, err error) T {
360
if
err != nil {
361
panic(err)
362
}
363
return
t
364
}
Callers
1
TestCacheRBAC
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected