MCPcopy Create free account
hub / github.com/pingdotgg/t3code / buildFileDiffRenderKey

Function buildFileDiffRenderKey

apps/web/src/lib/diffRendering.ts:135–137  ·  view source on GitHub ↗
(fileDiff: FileDiffMetadata)

Source from the content-addressed store, hash-verified

133}
134
135export function buildFileDiffRenderKey(fileDiff: FileDiffMetadata): string {
136 return fileDiff.cacheKey ?? `${fileDiff.prevName ?? "none"}:${fileDiff.name}`;
137}
138
139export function getDiffCollapseIconClassName(fileDiff: FileDiffMetadata): string {
140 switch (fileDiff.type) {

Callers 1

DiffPanelFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected