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

Function clearRepositoryCaches

source code/utils/detectRepository.ts:15–17  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13const repositoryWithHostCache = new Map<string, ParsedRepository | null>()
14
15export function clearRepositoryCaches(): void {
16 repositoryWithHostCache.clear()
17}
18
19export async function detectCurrentRepository(): Promise<string | null> {
20 const result = await detectCurrentRepositoryWithHost()

Callers 1

clearSessionCachesFunction · 0.85

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected