* Deletes the current code index.
()
| 153 | * Deletes the current code index. |
| 154 | */ |
| 155 | delete() { |
| 156 | return __awaiter(this, void 0, void 0, function* () { |
| 157 | yield fs.rm(this.folderPath, { recursive: true }); |
| 158 | this._config = undefined; |
| 159 | this._keys = undefined; |
| 160 | this._index = undefined; |
| 161 | }); |
| 162 | } |
| 163 | // LLM-REGION |
| 164 | /** |
| 165 | * Returns whether a `vectra.keys` file exists for the index. |