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

Function heap

packages/app/src/components/debug-bar.tsx:137–137  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

135
136 const na = () => language.t("debugBar.na").toUpperCase()
137 const heap = () => (state.heap.limit ? (state.heap.used ?? 0) / state.heap.limit : undefined)
138 const heapv = () => {
139 const value = heap()
140 if (value === undefined) return na()

Callers 2

heapvFunction · 0.85
DebugBarFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected