MCPcopy Index your code
hub / github.com/wavetermdev/waveterm / CreateBlockCommand

Function CreateBlockCommand

pkg/wshrpc/wshclient/wshclient.go:183–186  ·  view source on GitHub ↗

command "createblock", wshserver.CreateBlockCommand

(w *wshutil.WshRpc, data wshrpc.CommandCreateBlockData, opts *wshrpc.RpcOpts)

Source from the content-addressed store, hash-verified

181
182// command "createblock", wshserver.CreateBlockCommand
183func CreateBlockCommand(w *wshutil.WshRpc, data wshrpc.CommandCreateBlockData, opts *wshrpc.RpcOpts) (waveobj.ORef, error) {
184 resp, err := sendRpcRequestCallHelper[waveobj.ORef](w, "createblock", data, opts)
185 return resp, err
186}
187
188// command "createsubblock", wshserver.CreateSubBlockCommand
189func CreateSubBlockCommand(w *wshutil.WshRpc, data wshrpc.CommandCreateSubBlockData, opts *wshrpc.RpcOpts) (waveobj.ORef, error) {

Callers 10

editorRunFunction · 0.92
viewRunFunction · 0.92
secretUiRunFunction · 0.92
webOpenRunFunction · 0.92
sshRunFunction · 0.92
editConfigRunFunction · 0.92
launchRunFunction · 0.92
termRunFunction · 0.92
createBlockRunFunction · 0.92
runRunFunction · 0.92

Calls 1

sendRpcRequestCallHelperFunction · 0.85

Tested by

no test coverage detected