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

Function getContinueGlobalPath

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

Source from the content-addressed store, hash-verified

67}
68
69export function getContinueGlobalPath(): string {
70 // This is ~/.continue on mac/linux
71 const continuePath = CONTINUE_GLOBAL_DIR;
72 if (!fs.existsSync(continuePath)) {
73 fs.mkdirSync(continuePath);
74 }
75 return continuePath;
76}
77
78export function getSessionsFolderPath(): string {
79 const sessionsPath = path.join(getContinueGlobalPath(), "sessions");

Callers 15

getAllPromptFilesFunction · 0.90
createNewGlobalRuleFileFunction · 0.90
constructorMethod · 0.90
getContinueUtilsPathFunction · 0.85
getSessionsFolderPathFunction · 0.85
getIndexFolderPathFunction · 0.85
getSharedConfigFilePathFunction · 0.85
getConfigJsonPathFunction · 0.85
getConfigYamlPathFunction · 0.85
getConfigTsPathFunction · 0.85
getConfigJsPathFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected