fix: delete 9 dead functions with zero callers (#22697)

This commit is contained in:
Kit Langton
2026-04-15 22:01:02 -04:00
committed by GitHub
parent 70aeebf2df
commit 34213d4446
8 changed files with 0 additions and 107 deletions

View File

@@ -25,20 +25,6 @@ export type ViewDiff = {
const cache = new Map<string, FileDiffMetadata>()
function empty(file: string, key: string) {
return {
name: file,
type: "change",
hunks: [],
splitLineCount: 0,
unifiedLineCount: 0,
isPartial: true,
deletionLines: [],
additionLines: [],
cacheKey: key,
} satisfies FileDiffMetadata
}
function patch(diff: ReviewDiff) {
if (typeof diff.patch === "string") {
const [patch] = parsePatch(diff.patch)

View File

@@ -555,10 +555,6 @@ function toolPart(sample: (typeof TOOL_SAMPLES)[keyof typeof TOOL_SAMPLES], stat
} as ToolPart
}
function compactionPart(): CompactionPart {
return { id: uid(), type: "compaction", auto: true } as CompactionPart
}
// ---------------------------------------------------------------------------
// CSS Controls definition
// ---------------------------------------------------------------------------