MCPcopy Create free account
hub / github.com/couchbase/sync_gateway / remove

Method remove

rest/config.go:409–413  ·  view source on GitHub ↗
(dbname string)

Source from the content-addressed store, hash-verified

407}
408
409func (d *invalidDatabaseConfigs) remove(dbname string) {
410 d.m.Lock()
411 defer d.m.Unlock()
412 delete(d.dbNames, dbname)
413}
414
415// removeNonExistingConfigs will remove any configs from invalid config tracking map that aren't present in fetched configs
416func (d *invalidDatabaseConfigs) removeNonExistingConfigs(fetchedConfigs map[string]bool) {

Callers 4

delete_zipFunction · 0.45
CloseMethod · 0.45
fetchAndLoadConfigsMethod · 0.45

Calls 2

LockMethod · 0.45
UnlockMethod · 0.45

Tested by

no test coverage detected