Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/coder/coder
/ NewCacheCloser
Function
NewCacheCloser
coderd/files/closer.go:22–27 ·
view source on GitHub ↗
(cache FileAcquirer)
Source
from the content-addressed store, hash-verified
20
}
21
22
func
NewCacheCloser(cache FileAcquirer) *CacheCloser {
23
return
&CacheCloser{
24
cache: cache,
25
closers: make([]
func
(), 0),
26
}
27
}
28
29
func
(c *CacheCloser) Close() {
30
c.mu.Lock()
Callers
2
Build
Method · 0.92
Renderer
Method · 0.92
Calls
no outgoing calls
Tested by
no test coverage detected