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

Method clear

src/services/cache/fetch.ts:9–11  ·  view source on GitHub ↗
(cacheId: string)

Source from the content-addressed store, hash-verified

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 })
11 }
12
13 async getDataDir(): Promise<DataDirInfo> {
14 return get<DataDirInfo>('/cache/data-dir')

Callers

nothing calls this directly

Calls 1

postFunction · 0.90

Tested by

no test coverage detected