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

Function getCacheDir

source code/utils/model/modelCapabilities.ts:40–42  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

38export type ModelCapability = z.infer<ReturnType<typeof ModelCapabilitySchema>>
39
40function getCacheDir(): string {
41 return join(getClaudeConfigHomeDir(), 'cache')
42}
43
44function getCachePath(): string {
45 return join(getCacheDir(), 'model-capabilities.json')

Callers 2

getCachePathFunction · 0.85
refreshModelCapabilitiesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected