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

Function line

packages/session-ui/src/components/line-comment-annotations.tsx:471–471  ·  view source on GitHub ↗
(range: SelectedLineRange)

Source from the content-addressed store, hash-verified

469 props: LineCommentAnnotationsProps<T> | LineCommentAnnotationsWithSideProps<T>,
470) {
471 const line = (range: SelectedLineRange) => Math.max(range.start, range.end)
472
473 if ("getSide" in props) {
474 return createMemo<DiffLineAnnotation<LineCommentAnnotationMeta<T>>[]>(() => {

Callers 3

mouseHitFunction · 0.70
SessionRetryFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected