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

Method GetBuilderOutputCommand

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

Source from the content-addressed store, hash-verified

1199}
1200
1201func (ws *WshServer) GetBuilderOutputCommand(ctx context.Context, builderId string) ([]string, error) {
1202 if builderId == "" {
1203 return nil, fmt.Errorf("must provide a builderId to GetBuilderOutputCommand")
1204 }
1205 bc := buildercontroller.GetOrCreateController(builderId)
1206 return bc.GetOutput(), nil
1207}
1208
1209func (ws *WshServer) CheckGoVersionCommand(ctx context.Context) (*wshrpc.CommandCheckGoVersionRtnData, error) {
1210 watcher := wconfig.GetWatcher()

Callers

nothing calls this directly

Calls 2

GetOrCreateControllerFunction · 0.92
GetOutputMethod · 0.80

Tested by

no test coverage detected