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

Function containsDiff

packages/tui/test/cli/tui/diff-viewer.test.tsx:193–196  ·  view source on GitHub ↗
(root: Renderable)

Source from the content-addressed store, hash-verified

191}
192
193function containsDiff(root: Renderable): boolean {
194 if (root instanceof DiffRenderable) return true
195 return root.getChildren().some(containsDiff)
196}
197
198const session = {
199 id: "session-1",

Callers 1

findScrollBoxFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected