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

Method DeleteBuilderCommand

pkg/wshrpc/wshserver/wshserver.go:1129–1135  ·  view source on GitHub ↗
(ctx context.Context, builderId string)

Source from the content-addressed store, hash-verified

1127}
1128
1129func (ws *WshServer) DeleteBuilderCommand(ctx context.Context, builderId string) error {
1130 if builderId == "" {
1131 return fmt.Errorf("must provide a builderId to DeleteBuilderCommand")
1132 }
1133 buildercontroller.DeleteController(builderId)
1134 return nil
1135}
1136
1137func (ws *WshServer) StartBuilderCommand(ctx context.Context, data wshrpc.CommandStartBuilderData) error {
1138 if data.BuilderId == "" {

Callers

nothing calls this directly

Calls 1

DeleteControllerFunction · 0.92

Tested by

no test coverage detected