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

Function getSessionsFolderPath

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

Source from the content-addressed store, hash-verified

76}
77
78export function getSessionsFolderPath(): string {
79 const sessionsPath = path.join(getContinueGlobalPath(), "sessions");
80 if (!fs.existsSync(sessionsPath)) {
81 fs.mkdirSync(sessionsPath);
82 }
83 return sessionsPath;
84}
85
86export function getIndexFolderPath(): string {
87 const indexPath = path.join(getContinueGlobalPath(), "index");

Callers 3

getSessionFilePathFunction · 0.85
getSessionsListPathFunction · 0.85
clearAllMethod · 0.85

Calls 1

getContinueGlobalPathFunction · 0.85

Tested by

no test coverage detected