MCPcopy
hub / github.com/anomalyco/opencode / global

Function global

packages/app/src/utils/persist.ts:483–485  ·  view source on GitHub ↗
(key: string, legacy?: string[])

Source from the content-addressed store, hash-verified

481
482export const Persist = {
483 global(key: string, legacy?: string[]): PersistTarget {
484 return { storage: GLOBAL_STORAGE, key, legacy }
485 },
486 window(key: string, legacy?: string[]): PersistTarget {
487 return { scope: "window", key, legacy }
488 },

Callers 2

layer-node.test.tsFile · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected