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

Function BlocksListCommand

pkg/wshrpc/wshclient/wshclient.go:87–90  ·  view source on GitHub ↗

command "blockslist", wshserver.BlocksListCommand

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

Source from the content-addressed store, hash-verified

85
86// command "blockslist", wshserver.BlocksListCommand
87func BlocksListCommand(w *wshutil.WshRpc, data wshrpc.BlocksListRequest, opts *wshrpc.RpcOpts) ([]wshrpc.BlocksListEntry, error) {
88 resp, err := sendRpcRequestCallHelper[[]wshrpc.BlocksListEntry](w, "blockslist", data, opts)
89 return resp, err
90}
91
92// command "captureblockscreenshot", wshserver.CaptureBlockScreenshotCommand
93func CaptureBlockScreenshotCommand(w *wshutil.WshRpc, data wshrpc.CommandCaptureBlockScreenshotData, opts *wshrpc.RpcOpts) (string, error) {

Callers 1

blocksListRunFunction · 0.92

Calls 1

sendRpcRequestCallHelperFunction · 0.85

Tested by

no test coverage detected