MCPcopy Create free account
hub / github.com/xerrors/Yuxi / downloadViewerFile

Function downloadViewerFile

web/src/apis/viewer_filesystem.js:30–33  ·  view source on GitHub ↗
(threadId, path)

Source from the content-addressed store, hash-verified

28}
29
30export const downloadViewerFile = (threadId, path) => {
31 const query = buildViewerQuery(threadId, path)
32 return apiGet(`/api/viewer/filesystem/download?${query}`, {}, true, 'blob')
33}
34
35export const deleteViewerFile = (threadId, path) => {
36 const query = buildViewerQuery(threadId, path)

Callers

nothing calls this directly

Calls 2

apiGetFunction · 0.90
buildViewerQueryFunction · 0.85

Tested by

no test coverage detected