MCPcopy Create free account
hub / github.com/AnukarOP/claude-code-leaked / _setGlobalConfigCacheForTesting

Function _setGlobalConfigCacheForTesting

source code/utils/config.ts:1814–1819  ·  view source on GitHub ↗
(
  config: GlobalConfig | null,
)

Source from the content-addressed store, hash-verified

1812export const _getConfigForTesting = getConfig
1813export const _wouldLoseAuthStateForTesting = wouldLoseAuthState
1814export function _setGlobalConfigCacheForTesting(
1815 config: GlobalConfig | null,
1816): void {
1817 globalConfigCache.config = config
1818 globalConfigCache.mtime = config ? Date.now() : 0
1819}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected