MCPcopy Create free account
hub / github.com/LeetCode-OpenSource/vscode-leetcode / createSession

Method createSession

src/leetCodeExecutor.ts:157–159  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

155 }
156
157 public async createSession(id: string): Promise<string> {
158 return await this.executeCommandEx(this.nodeExecutable, [await this.getLeetCodeBinaryPath(), "session", "-c", id]);
159 }
160
161 public async deleteSession(id: string): Promise<string> {
162 return await this.executeCommandEx(this.nodeExecutable, [await this.getLeetCodeBinaryPath(), "session", "-d", id]);

Callers 1

createSessionFunction · 0.80

Calls 2

executeCommandExMethod · 0.95
getLeetCodeBinaryPathMethod · 0.95

Tested by

no test coverage detected