MCPcopy Create free account
hub / github.com/couchbase/cbft / IndexNames

Function IndexNames

http/registry.go:52–63  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

50}
51
52func IndexNames() []string {
53 indexNameMappingLock.RLock()
54 defer indexNameMappingLock.RUnlock()
55
56 rv := make([]string, len(indexNameMapping))
57 count := 0
58 for k := range indexNameMapping {
59 rv[count] = k
60 count++
61 }
62 return rv
63}
64
65func UpdateAlias(alias string, add, remove []string) error {
66 indexNameMappingLock.Lock()

Callers 1

ServeHTTPMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected