Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/coder/coder
/ Close
Method
Close
scaletest/loadtestutil/syncwriter.go:32–37 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
30
}
31
32
func
(sw *SyncWriter) Close() error {
33
sw.mut.Lock()
34
defer
sw.mut.Unlock()
35
sw.closed = true
36
return
nil
37
}
Callers
1
Run
Method · 0.95
Calls
2
Lock
Method · 0.45
Unlock
Method · 0.45
Tested by
no test coverage detected