MCPcopy Create free account
hub / github.com/GooGee/Entity-Builder / putCode

Function putCode

src/api.ts:30–32  ·  view source on GitHub ↗
(file: string, content: string)

Source from the content-addressed store, hash-verified

28}
29
30export function putCode(file: string, content: string) {
31 return client.put<LB.ApiResponse<null>>("code", { file, content })
32}
33
34export function readFile(file: string) {
35 return client.get<LB.ApiResponse<string>>("file", { params: { file } })

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected