MCPcopy Create free account
hub / github.com/tiann/hapi / getSharedCachePath

Function getSharedCachePath

cli/src/modules/common/cursorModelsSharedCache.ts:10–12  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8}
9
10function getSharedCachePath(): string {
11 return join(getHapiHomeDir(), 'cache', 'cursor-models.json');
12}
13
14function isUsableModelsResponse(response: CursorModelsResponse | null): response is CursorModelsResponse {
15 return Boolean(

Calls 1

getHapiHomeDirFunction · 0.85

Tested by

no test coverage detected