MCPcopy Index your code
hub / github.com/wavetermdev/waveterm / GetConfigMap

Method GetConfigMap

tsunami/engine/rootelem.go:110–117  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

108}
109
110func (r *RootElem) GetConfigMap() map[string]any {
111 atoms := r.getAtomsByPrefix("$config.")
112 result := make(map[string]any)
113 for name, atom := range atoms {
114 result[name] = atom.GetVal()
115 }
116 return result
117}
118
119func MakeRoot(client *ClientImpl) *RootElem {
120 return &RootElem{

Callers 1

handleConfigGetMethod · 0.80

Calls 2

getAtomsByPrefixMethod · 0.95
GetValMethod · 0.65

Tested by

no test coverage detected