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

Method isCreated

lib/CodeIndex.js:175–179  ·  view source on GitHub ↗

* Returns true if the index has been created.

()

Source from the content-addressed store, hash-verified

173 * Returns true if the index has been created.
174 */
175 isCreated() {
176 return __awaiter(this, void 0, void 0, function* () {
177 return yield fs.stat(this.folderPath).then(() => true).catch(() => false);
178 });
179 }
180 // LLM-REGION
181 /**
182 * Loads the current code index.

Callers 8

addMethod · 0.95
queryMethod · 0.95
rebuildMethod · 0.95
removeMethod · 0.95
setKeysMethod · 0.95
setConfigMethod · 0.95
upsertDocumentMethod · 0.95
runFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected