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

Method GetDataMap

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

Source from the content-addressed store, hash-verified

99}
100
101func (r *RootElem) GetDataMap() map[string]any {
102 atoms := r.getAtomsByPrefix("$data.")
103 result := make(map[string]any)
104 for name, atom := range atoms {
105 result[name] = atom.GetVal()
106 }
107 return result
108}
109
110func (r *RootElem) GetConfigMap() map[string]any {
111 atoms := r.getAtomsByPrefix("$config.")

Callers 1

handleDataMethod · 0.80

Calls 2

getAtomsByPrefixMethod · 0.95
GetValMethod · 0.65

Tested by

no test coverage detected