Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/xerrors/Yuxi
/ saveWorkspaceFileContent
Function
saveWorkspaceFileContent
web/src/apis/workspace_api.js:43–45 ·
view source on GitHub ↗
(path, content)
Source
from the content-addressed store, hash-verified
41
}
42
43
export
const
saveWorkspaceFileContent = (path, content) => {
44
return
apiPut(
'/api/workspace/file'
, { path, content })
45
}
46
47
export
const
deleteWorkspacePath = (path) => {
48
const
query = buildQuery({ path })
Callers
nothing calls this directly
Calls
1
apiPut
Function · 0.90
Tested by
no test coverage detected