merge - but appears broken

This commit is contained in:
Andrew 2024-10-28 03:44:13 -07:00
parent 18557c8f6e
commit d3962acd30
2 changed files with 1 additions and 5 deletions

View file

@ -2,7 +2,7 @@ import * as vscode from 'vscode';
import { findDiffs } from './findDiffs';
import { Diff, DiffArea, BaseDiff, } from '../common/shared_types';
import { readFileContentOfUri } from './extensionLib/readFileContentOfUri';
const THRTOTLE_TIME = 100 // minimum time between edits
// TODO in theory this should be disposed

View file

@ -8,10 +8,6 @@ import { readFileContentOfUri } from './extensionLib/readFileContentOfUri';
const LINES_PER_CHUNK = 20 // number of lines to search at a time
// const THRTOTLE_TIME = 100 // minimum time between edits
// throttle(
// THRTOTLE_TIME, { trailing: true }
// )
type CompetedReturn = { isFinished: true, } | { isFinished?: undefined, }
const streamChunk = ({ diffProvider, docUri, oldFileStr, completedStr, diffRepr, diffArea, voidConfig, abortRef }: { diffProvider: DiffProvider, docUri: vscode.Uri, oldFileStr: string, completedStr: string, diffRepr: string, voidConfig: VoidConfig, diffArea: DiffArea, abortRef: AbortRef }) => {