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

Function clearRepositoryCaches

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

Source from the content-addressed store, hash-verified

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

Callers 1

clearSessionCachesFunction · 0.85

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected