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

Method ControllerDestroyCommand

pkg/wshrpc/wshserver/wshserver.go:309–312  ·  view source on GitHub ↗
(ctx context.Context, blockId string)

Source from the content-addressed store, hash-verified

307}
308
309func (ws *WshServer) ControllerDestroyCommand(ctx context.Context, blockId string) error {
310 blockcontroller.DestroyBlockController(blockId)
311 return nil
312}
313
314func (ws *WshServer) ControllerResyncCommand(ctx context.Context, data wshrpc.CommandControllerResyncData) error {
315 ctx = genconn.ContextWithConnData(ctx, data.BlockId)

Callers

nothing calls this directly

Calls 1

DestroyBlockControllerFunction · 0.92

Tested by

no test coverage detected