MCPcopy
hub / github.com/wavetermdev/waveterm / FileWriteCommand

Function FileWriteCommand

pkg/wshrpc/wshclient/wshclient.go:380–383  ·  view source on GitHub ↗

command "filewrite", wshserver.FileWriteCommand

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

Source from the content-addressed store, hash-verified

378
379// command "filewrite", wshserver.FileWriteCommand
380func FileWriteCommand(w *wshutil.WshRpc, data wshrpc.FileData, opts *wshrpc.RpcOpts) error {
381 _, err := sendRpcRequestCallHelper[any](w, "filewrite", data, opts)
382 return err
383}
384
385// command "findgitbash", wshserver.FindGitBashCommand
386func FindGitBashCommand(w *wshutil.WshRpc, data bool, opts *wshrpc.RpcOpts) (string, error) {

Callers 2

fileWriteRunFunction · 0.92
streamWriteToFileFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected