MCPcopy
hub / github.com/codeaashu/claude-code / getApiKeyFromApiKeyHelperCached

Function getApiKeyFromApiKeyHelperCached

src/utils/auth.ts:581–583  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

579 * Returns null only if the async fetch hasn't completed yet.
580 */
581export function getApiKeyFromApiKeyHelperCached(): string | null {
582 return _apiKeyHelperCache?.value ?? null
583}
584
585export function clearApiKeyHelperCache(): void {
586 _apiKeyHelperEpoch++

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected