MCPcopy Create free account
hub / github.com/Wscats/vscode-explore / getValue

Method getValue

contextKeyExpr/src/context.ts:10–14  ·  view source on GitHub ↗
(key: string)

Source from the content-addressed store, hash-verified

8export class Context implements IContext {
9 private readonly _values = new Map<string, any>();
10 getValue(key: string): any {
11 if (this._values.has(key)) {
12 return this._values.get(key);
13 }
14 }
15 setValue(key: string, value: any) {
16 this._values.set(key, value);
17 }

Callers

nothing calls this directly

Calls 2

hasMethod · 0.65
getMethod · 0.65

Tested by

no test coverage detected