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

Function getViewerFileContent

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

Source from the content-addressed store, hash-verified

23}
24
25export const getViewerFileContent = (threadId, path) => {
26 const query = buildViewerQuery(threadId, path)
27 return apiGet(`/api/viewer/filesystem/file?${query}`)
28}
29
30export const downloadViewerFile = (threadId, path) => {
31 const query = buildViewerQuery(threadId, path)

Callers

nothing calls this directly

Calls 2

apiGetFunction · 0.90
buildViewerQueryFunction · 0.85

Tested by

no test coverage detected