MCPcopy 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
22func NewCacheCloser(cache FileAcquirer) *CacheCloser {
23 return &CacheCloser{
24 cache: cache,
25 closers: make([]func(), 0),
26 }
27}
28
29func (c *CacheCloser) Close() {
30 c.mu.Lock()

Callers 2

BuildMethod · 0.92
RendererMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected