MCPcopy Create free account
hub / github.com/ChatLab/ChatLab / saveToDownloads

Method saveToDownloads

src/services/cache/types.ts:41–41  ·  view source on GitHub ↗
(filename: string, dataUrl: string)

Source from the content-addressed store, hash-verified

39 ): Promise<{ success: boolean; error?: string; from?: string; to?: string; requiresRelaunch?: boolean }>
40 getLatestImportLog(): Promise<{ success: boolean; path?: string; name?: string; error?: string }>
41 saveToDownloads(filename: string, dataUrl: string): Promise<{ success: boolean; filePath?: string; error?: string }>
42 openDir(cacheId: string): Promise<{ success: boolean; error?: string }>
43 showInFolder(filePath: string): Promise<{ success: boolean; error?: string }>
44}

Callers 3

exportConversationFunction · 0.65
exportSQLResultFunction · 0.65
downloadImageFunction · 0.65

Implementers 1

FetchCacheAdaptersrc/services/cache/fetch.ts

Calls

no outgoing calls

Tested by

no test coverage detected