MCPcopy Index your code
hub / github.com/continuedev/continue / getIndexFolderPath

Function getIndexFolderPath

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

Source from the content-addressed store, hash-verified

84}
85
86export function getIndexFolderPath(): string {
87 const indexPath = path.join(getContinueGlobalPath(), "index");
88 if (!fs.existsSync(indexPath)) {
89 fs.mkdirSync(indexPath);
90 }
91 return indexPath;
92}
93
94export function getGlobalContextFilePath(): string {
95 return path.join(getIndexFolderPath(), "globalContext.json");

Callers 5

getGlobalContextFilePathFunction · 0.85
getIndexSqlitePathFunction · 0.85
getLanceDbPathFunction · 0.85
getDocsSqlitePathFunction · 0.85

Calls 1

getContinueGlobalPathFunction · 0.85

Tested by

no test coverage detected