MCPcopy Index your code
hub / github.com/xerrors/Yuxi / getViewerFileSystemTree

Function getViewerFileSystemTree

web/src/apis/viewer_filesystem.js:20–23  ·  view source on GitHub ↗
(threadId, path = '/')

Source from the content-addressed store, hash-verified

18}
19
20export const getViewerFileSystemTree = (threadId, path = '/') => {
21 const query = buildViewerQuery(threadId, path)
22 return apiGet(`/api/viewer/filesystem/tree?${query}`)
23}
24
25export const getViewerFileContent = (threadId, path) => {
26 const query = buildViewerQuery(threadId, path)

Callers

nothing calls this directly

Calls 2

apiGetFunction · 0.90
buildViewerQueryFunction · 0.85

Tested by

no test coverage detected