MCPcopy Index your code
hub / github.com/LeetCode-OpenSource/vscode-leetcode / listSessions

Method listSessions

src/leetCodeExecutor.ts:149–151  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

147 }
148
149 public async listSessions(): Promise<string> {
150 return await this.executeCommandEx(this.nodeExecutable, [await this.getLeetCodeBinaryPath(), "session"]);
151 }
152
153 public async enableSession(name: string): Promise<string> {
154 return await this.executeCommandEx(this.nodeExecutable, [await this.getLeetCodeBinaryPath(), "session", "-e", name]);

Callers 1

getSessionListFunction · 0.80

Calls 2

executeCommandExMethod · 0.95
getLeetCodeBinaryPathMethod · 0.95

Tested by

no test coverage detected