Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/coder/coder
/ Add
Method
Add
coderd/database/migrations/migrate_test.go:201–206 ·
view source on GitHub ↗
(table string, n int)
Source
from the content-addressed store, hash-verified
199
}
200
201
func
(s *tableStats) Add(table string, n int) {
202
s.mu.Lock()
203
defer
s.mu.Unlock()
204
205
s.s[table] += n
206
}
207
208
func
(s *tableStats) Empty() []string {
209
s.mu.Lock()
Callers
1
TestMigrateUpWithFixtures
Function · 0.95
Calls
2
Lock
Method · 0.45
Unlock
Method · 0.45
Tested by
no test coverage detected