MCPcopy Create free account
hub / github.com/Stevenic/codepilot / delete

Method delete

src/CodeIndex.ts:205–210  ·  view source on GitHub ↗

* Deletes the current code index.

()

Source from the content-addressed store, hash-verified

203 * Deletes the current code index.
204 */
205 public async delete(): Promise<void> {
206 await fs.rm(this.folderPath, { recursive: true });
207 this._config = undefined;
208 this._keys = undefined;
209 this._index = undefined;
210 }
211
212 // LLM-REGION
213

Callers 1

runFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected