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

Function diffSelectionSide

packages/session-ui/src/components/file.tsx:649–653  ·  view source on GitHub ↗
(node: Node | null)

Source from the content-addressed store, hash-verified

647}
648
649function diffSelectionSide(node: Node | null) {
650 const el = findElement(node)
651 if (!el) return
652 return findDiffSide(el)
653}
654
655// ---------------------------------------------------------------------------
656// Shared JSX shell

Callers

nothing calls this directly

Calls 2

findElementFunction · 0.90
findDiffSideFunction · 0.90

Tested by

no test coverage detected