MCPcopy Create free account
hub / github.com/anomalyco/opencode / getRoot

Function getRoot

packages/session-ui/src/components/file.tsx:175–175  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

173 const [rendered, setRendered] = createSignal(0)
174
175 const getRoot = () => getViewerRoot(container)
176 const getHost = () => getViewerHost(container)
177
178 const find = createFileFind({

Callers 1

useFileViewerFunction · 0.70

Calls 1

getViewerRootFunction · 0.90

Tested by

no test coverage detected