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

Method getInstance

extensions/cli/src/session.ts:86–91  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

84 private constructor() {}
85
86 static getInstance(): SessionManager {
87 if (!SessionManager.instance) {
88 SessionManager.instance = new SessionManager();
89 }
90 return SessionManager.instance;
91 }
92
93 getCurrentSession(): Session {
94 if (!this.currentSession) {

Callers 14

getCurrentSessionIdFunction · 0.45
saveSessionFunction · 0.45
loadSessionFunction · 0.45
createSessionFunction · 0.45
clearSessionFunction · 0.45
hasSessionFunction · 0.45
loadOrCreateSessionByIdFunction · 0.45
updateSessionHistoryFunction · 0.45
updateSessionTitleFunction · 0.45
getCurrentSessionFunction · 0.45
startNewSessionFunction · 0.45
trackSessionUsageFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected