MCPcopy 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
201func (s *tableStats) Add(table string, n int) {
202 s.mu.Lock()
203 defer s.mu.Unlock()
204
205 s.s[table] += n
206}
207
208func (s *tableStats) Empty() []string {
209 s.mu.Lock()

Callers 1

Calls 2

LockMethod · 0.45
UnlockMethod · 0.45

Tested by

no test coverage detected