MCPcopy Create free account
hub / github.com/continuedev/continue / getContinueRcPath

Function getContinueRcPath

core/util/paths.ts:210–226  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

208}
209
210export function getContinueRcPath(): string {
211 // Disable indexing of the config folder to prevent infinite loops
212 const continuercPath = path.join(getContinueGlobalPath(), ".continuerc.json");
213 if (!fs.existsSync(continuercPath)) {
214 fs.writeFileSync(
215 continuercPath,
216 JSON.stringify(
217 {
218 disableIndexing: true,
219 },
220 null,
221 2,
222 ),
223 );
224 }
225 return continuercPath;
226}
227
228function getDevDataPath(): string {
229 const sPath = path.join(getContinueGlobalPath(), "dev_data");

Callers 1

activateExtensionFunction · 0.90

Calls 1

getContinueGlobalPathFunction · 0.85

Tested by

no test coverage detected