MCPcopy Index your code
hub / github.com/continuedev/continue / addDiffToContext

Method addDiffToContext

core/nextEdit/NextEditProvider.ts:122–127  ·  view source on GitHub ↗
(diff: string)

Source from the content-addressed store, hash-verified

120 }
121
122 public addDiffToContext(diff: string): void {
123 this.diffContext.push(diff);
124 if (this.diffContext.length > 5) {
125 this.diffContext.shift();
126 }
127 }
128
129 public addAutocompleteContext(ctx: string): void {
130 this.autocompleteContext = ctx;

Callers 1

processSmallEditFunction · 0.80

Calls 1

pushMethod · 0.65

Tested by

no test coverage detected