MCPcopy Create free account
hub / github.com/thetarnav/solid-devtools / createTopRoot

Function createTopRoot

packages/debugger/src/main/roots.ts:35–39  ·  view source on GitHub ↗
(owner: Solid.Root)

Source from the content-addressed store, hash-verified

33}
34
35export function createTopRoot(owner: Solid.Root): void {
36 const rootId = getSdtId(owner, ObjectType.Owner)
37 RootMap.set(rootId, owner)
38 OnOwnerNeedsUpdate?.(owner, rootId)
39}
40
41function cleanupRoot(root: Solid.Root): void {
42 const rootId = getSdtId(root, ObjectType.Owner)

Callers 2

attachDebuggerFunction · 0.85
onParentCleanupFunction · 0.85

Calls 1

getSdtIdFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…