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
commit 34213d4446
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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)