MCPcopy Create free account
hub / github.com/Zoo-Code-Org/Zoo-Code / getGlobalState

Method getGlobalState

src/core/webview/ClineProvider.ts:2788–2790  ·  view source on GitHub ↗
(key: K)

Source from the content-addressed store, hash-verified

2786
2787 // @deprecated - Use `ContextProxy#getValue` instead.
2788 private getGlobalState<K extends keyof GlobalState>(key: K) {
2789 return this.contextProxy.getValue(key)
2790 }
2791
2792 public async setValue<K extends keyof RooCodeSettings>(key: K, value: RooCodeSettings[K]) {
2793 await this.contextProxy.setValue(key, value)

Callers 4

handleModeSwitchMethod · 0.95
getTaskWithIdMethod · 0.95

Calls 1

getValueMethod · 0.65

Tested by

no test coverage detected