Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
193
function containsDiff(root: Renderable): boolean {
194
if (root instanceof DiffRenderable) return true
195
return root.getChildren().some(containsDiff)
196
}
197
198
const session = {
199
id:
"session-1"
,
Callers
1
findScrollBox
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected