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

Method updateGlobalState

src/core/webview/ClineProvider.ts:2783–2785  ·  view source on GitHub ↗
(key: K, value: GlobalState[K])

Source from the content-addressed store, hash-verified

2781
2782 // @deprecated - Use `ContextProxy#setValue` instead.
2783 private async updateGlobalState<K extends keyof GlobalState>(key: K, value: GlobalState[K]) {
2784 await this.contextProxy.setValue(key, value)
2785 }
2786
2787 // @deprecated - Use `ContextProxy#getValue` instead.
2788 private getGlobalState<K extends keyof GlobalState>(key: K) {

Callers 7

constructorMethod · 0.95
handleModeSwitchMethod · 0.95
upsertProviderProfileMethod · 0.95

Calls 1

setValueMethod · 0.65

Tested by

no test coverage detected