MCPcopy
hub / github.com/continuedev/continue / refreshIndex

Function refreshIndex

core/indexing/CodebaseIndexer.test.ts:132–144  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

130 });
131
132 async function refreshIndex() {
133 const abortController = new AbortController();
134 const abortSignal = abortController.signal;
135
136 const updates = [];
137 for await (const update of codebaseIndexer.refreshDirs(
138 [TEST_DIR],
139 abortSignal,
140 )) {
141 updates.push(update);
142 }
143 return updates;
144 }
145
146 async function getAllIndexedFiles() {
147 const files = await testIndex.getIndexedFilesForTags(

Callers 1

Calls 2

refreshDirsMethod · 0.80
pushMethod · 0.65

Tested by

no test coverage detected