MCPcopy Create free account
hub / github.com/nutsdb/nutsdb / getAllComponents

Method getAllComponents

status_manager.go:84–91  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

82}
83
84func (sm *StatusManager) getAllComponents() []string {
85 sm.componentsMu.RLock()
86 defer sm.componentsMu.RUnlock()
87
88 names := make([]string, len(sm.componentNames))
89 copy(names, sm.componentNames)
90 return names
91}
92
93func (sm *StatusManager) Start() error {
94 if sm.isClosingOrClosed() {

Callers 2

StartMethod · 0.95
closeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected