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

Function createWorkspaceDirectory

web/src/apis/workspace_api.js:52–57  ·  view source on GitHub ↗
(parentPath, name)

Source from the content-addressed store, hash-verified

50}
51
52export const createWorkspaceDirectory = (parentPath, name) => {
53 return apiPost('/api/workspace/directory', {
54 parent_path: parentPath,
55 name
56 })
57}
58
59export const uploadWorkspaceFiles = (parentPath, files) => {
60 const formData = new FormData()

Callers

nothing calls this directly

Calls 1

apiPostFunction · 0.90

Tested by

no test coverage detected