MCPcopy Create free account
hub / github.com/wavetermdev/waveterm / getConfigKeyNamespace

Function getConfigKeyNamespace

pkg/wconfig/settingsconfig.go:742–748  ·  view source on GitHub ↗
(key string)

Source from the content-addressed store, hash-verified

740}
741
742func getConfigKeyNamespace(key string) string {
743 colonIdx := strings.Index(key, ":")
744 if colonIdx == -1 {
745 return ""
746 }
747 return key[:colonIdx]
748}
749
750func orderConfigKeys(m waveobj.MetaMapType) []string {
751 keys := make([]string, 0, len(m))

Callers 1

orderConfigKeysFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected