MCPcopy Create free account
hub / github.com/Zoo-Code-Org/Zoo-Code / DiffView.tsx

File DiffView.tsx

webview-ui/src/components/common/DiffView.tsx:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { memo, useMemo, useEffect, useState } from "react"
2import { parseUnifiedDiff, type DiffLine } from "@src/utils/parseUnifiedDiff"
3import { normalizeLanguage } from "@src/utils/highlighter"
4import { getLanguageFromPath } from "@src/utils/getLanguageFromPath"

Callers

nothing calls this directly

Calls 5

normalizeLanguageFunction · 0.90
getLanguageFromPathFunction · 0.90
parseUnifiedDiffFunction · 0.90
processHunksFunction · 0.85
renderContentFunction · 0.85

Tested by

no test coverage detected