MCPcopy
hub / github.com/wavetermdev/waveterm / MakeRoot

Function MakeRoot

pkg/vdom/vdom_root.go:72–79  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

70}
71
72func MakeRoot() *RootElem {
73 return &RootElem{
74 Root: nil,
75 CFuncs: make(map[string]any),
76 CompMap: make(map[string]*ComponentImpl),
77 Atoms: make(map[string]*Atom),
78 }
79}
80
81func (r *RootElem) GetAtom(name string) *Atom {
82 atom, ok := r.Atoms[name]

Callers 2

MakeClientFunction · 0.92
Test1Function · 0.70

Calls

no outgoing calls

Tested by 1

Test1Function · 0.56