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

Function getSessionsListPath

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

Source from the content-addressed store, hash-verified

104}
105
106export function getSessionsListPath(): string {
107 const filepath = path.join(getSessionsFolderPath(), "sessions.json");
108 if (!fs.existsSync(filepath)) {
109 fs.writeFileSync(filepath, JSON.stringify([]));
110 }
111 return filepath;
112}
113
114export function getConfigJsonPath(): string {
115 const p = path.join(getContinueGlobalPath(), "config.json");

Callers 3

listMethod · 0.85
deleteMethod · 0.85
saveMethod · 0.85

Calls 1

getSessionsFolderPathFunction · 0.85

Tested by

no test coverage detected