MCPcopy Index your code
hub / github.com/ChatLab/ChatLab / getInfo

Method getInfo

src/services/cache/fetch.ts:5–7  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3
4export class FetchCacheAdapter implements CacheServiceAdapter {
5 async getInfo(): Promise<CacheInfo> {
6 return get<CacheInfo>('/cache/info')
7 }
8
9 async clear(cacheId: string): Promise<{ success: boolean; error?: string; message?: string }> {
10 return post<{ success: boolean; error?: string; message?: string }>('/cache/clear', { cacheId })

Callers

nothing calls this directly

Calls 1

getFunction · 0.90

Tested by

no test coverage detected