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

Function FileStreamCommand

pkg/wshrpc/wshclient/wshclient.go:374–377  ·  view source on GitHub ↗

command "filestream", wshserver.FileStreamCommand

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

Source from the content-addressed store, hash-verified

372
373// command "filestream", wshserver.FileStreamCommand
374func FileStreamCommand(w *wshutil.WshRpc, data wshrpc.CommandFileStreamData, opts *wshrpc.RpcOpts) (*wshrpc.FileInfo, error) {
375 resp, err := sendRpcRequestCallHelper[*wshrpc.FileInfo](w, "filestream", data, opts)
376 return resp, err
377}
378
379// command "filewrite", wshserver.FileWriteCommand
380func FileWriteCommand(w *wshutil.WshRpc, data wshrpc.FileData, opts *wshrpc.RpcOpts) error {

Callers 1

streamReadFromFileFunction · 0.92

Calls 1

sendRpcRequestCallHelperFunction · 0.85

Tested by

no test coverage detected