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

Function FileCopyCommand

pkg/wshrpc/wshclient/wshclient.go:309–312  ·  view source on GitHub ↗

command "filecopy", wshserver.FileCopyCommand

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

Source from the content-addressed store, hash-verified

307
308// command "filecopy", wshserver.FileCopyCommand
309func FileCopyCommand(w *wshutil.WshRpc, data wshrpc.CommandFileCopyData, opts *wshrpc.RpcOpts) error {
310 _, err := sendRpcRequestCallHelper[any](w, "filecopy", data, opts)
311 return err
312}
313
314// command "filecreate", wshserver.FileCreateCommand
315func FileCreateCommand(w *wshutil.WshRpc, data wshrpc.FileData, opts *wshrpc.RpcOpts) error {

Callers 1

fileCpRunFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected