MCPcopy Create free account
hub / github.com/freecodexyz/free-code / _setGlobalConfigCacheForTesting

Function _setGlobalConfigCacheForTesting

src/utils/config.ts:1832–1837  ·  view source on GitHub ↗
(
  config: GlobalConfig | null,
)

Source from the content-addressed store, hash-verified

1830export const _getConfigForTesting = getConfig
1831export const _wouldLoseAuthStateForTesting = wouldLoseAuthState
1832export function _setGlobalConfigCacheForTesting(
1833 config: GlobalConfig | null,
1834): void {
1835 globalConfigCache.config = config
1836 globalConfigCache.mtime = config ? Date.now() : 0
1837}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected