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

Function reviewDiffId

packages/app/src/pages/session.tsx:1159–1163  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

1157 )
1158
1159 const reviewDiffId = (path: string) => {
1160 const sum = checksum(path)
1161 if (!sum) return
1162 return `session-review-diff-${sum}`
1163 }
1164
1165 const reviewDiffTop = (path: string) => {
1166 const root = tree.reviewScroll

Callers 1

reviewDiffTopFunction · 0.85

Calls 1

checksumFunction · 0.90

Tested by

no test coverage detected