From 34a4647f46bcbdf478f3db6551d1644be2e4c116 Mon Sep 17 00:00:00 2001 From: Faizan Ahmed <43652410+faizancodes@users.noreply.github.com> Date: Fri, 22 Nov 2024 18:34:29 -0500 Subject: [PATCH] Update constants.ts --- src/constants.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/constants.ts b/src/constants.ts index 14c7de1..9563743 100644 --- a/src/constants.ts +++ b/src/constants.ts @@ -38,8 +38,6 @@ export interface Builders { export interface PatchInfo { hunks: { - oldStart: number; - oldLines: number; newStart: number; newLines: number; lines: string[]; @@ -84,10 +82,6 @@ export const sleep = async (ms: number) => { return new Promise((resolve) => setTimeout(resolve, ms)); }; -export const processGitFilepath = (filepath: string) => { - // Remove the leading '/' if it exists - return filepath.startsWith("/") ? filepath.slice(1) : filepath; -}; export interface EnclosingContext { enclosingContext: Node | null;