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

Function FileDeleteCommand

pkg/wshrpc/wshclient/wshclient.go:321–324  ·  view source on GitHub ↗

command "filedelete", wshserver.FileDeleteCommand

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

Source from the content-addressed store, hash-verified

319
320// command "filedelete", wshserver.FileDeleteCommand
321func FileDeleteCommand(w *wshutil.WshRpc, data wshrpc.CommandDeleteFileData, opts *wshrpc.RpcOpts) error {
322 _, err := sendRpcRequestCallHelper[any](w, "filedelete", data, opts)
323 return err
324}
325
326// command "fileinfo", wshserver.FileInfoCommand
327func FileInfoCommand(w *wshutil.WshRpc, data wshrpc.FileData, opts *wshrpc.RpcOpts) (*wshrpc.FileInfo, error) {

Callers 1

fileRmRunFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected