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

Function FileCreateCommand

pkg/wshrpc/wshclient/wshclient.go:315–318  ·  view source on GitHub ↗

command "filecreate", wshserver.FileCreateCommand

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

Source from the content-addressed store, hash-verified

313
314// command "filecreate", wshserver.FileCreateCommand
315func FileCreateCommand(w *wshutil.WshRpc, data wshrpc.FileData, opts *wshrpc.RpcOpts) error {
316 _, err := sendRpcRequestCallHelper[any](w, "filecreate", data, opts)
317 return err
318}
319
320// command "filedelete", wshserver.FileDeleteCommand
321func FileDeleteCommand(w *wshutil.WshRpc, data wshrpc.CommandDeleteFileData, opts *wshrpc.RpcOpts) error {

Callers 1

ensureFileFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected