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

Method ControllerResyncCommand

pkg/wshrpc/wshserver/wshserver.go:314–318  ·  view source on GitHub ↗
(ctx context.Context, data wshrpc.CommandControllerResyncData)

Source from the content-addressed store, hash-verified

312}
313
314func (ws *WshServer) ControllerResyncCommand(ctx context.Context, data wshrpc.CommandControllerResyncData) error {
315 ctx = genconn.ContextWithConnData(ctx, data.BlockId)
316 ctx = termCtxWithLogBlockId(ctx, data.BlockId)
317 return blockcontroller.ResyncController(ctx, data.TabId, data.BlockId, data.RtOpts, data.ForceRestart)
318}
319
320func (ws *WshServer) ControllerInputCommand(ctx context.Context, data wshrpc.CommandBlockInputData) error {
321 inputUnion := &blockcontroller.BlockInputUnion{

Callers

nothing calls this directly

Calls 3

ContextWithConnDataFunction · 0.92
ResyncControllerFunction · 0.92
termCtxWithLogBlockIdFunction · 0.85

Tested by

no test coverage detected