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

Function MakeRoot

tsunami/engine/rootelem.go:119–127  ·  view source on GitHub ↗
(client *ClientImpl)

Source from the content-addressed store, hash-verified

117}
118
119func MakeRoot(client *ClientImpl) *RootElem {
120 return &RootElem{
121 Root: nil,
122 CFuncs: make(map[string]any),
123 CompMap: make(map[string]*ComponentImpl),
124 Atoms: make(map[string]genAtom),
125 Client: client,
126 }
127}
128
129func (r *RootElem) RegisterAtom(name string, atom genAtom) {
130 r.atomLock.Lock()

Callers 1

makeClientFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected