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

Function _setGlobalConfigCacheForTesting

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected