MCPcopy Index your code
hub / github.com/coder/code-server / addSession

Method addSession

src/node/vscodeSocket.ts:89–92  ·  view source on GitHub ↗
(entry: EditorSessionEntry)

Source from the content-addressed store, hash-verified

87 private entries = new Map<string, EditorSessionEntry>()
88
89 addSession(entry: EditorSessionEntry): void {
90 logger.debug(`Adding session to session registry: ${entry.socketPath}`)
91 this.entries.set(entry.socketPath, entry)
92 }
93
94 getCandidatesForFile(filePath: string): EditorSessionEntry[] {
95 const matchCheckResults = new Map<string, boolean>()

Callers 3

cli.test.tsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected