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

Method SetConfigCommand

pkg/wshrpc/wshserver/wshserver.go:554–556  ·  view source on GitHub ↗
(ctx context.Context, data wshrpc.MetaSettingsType)

Source from the content-addressed store, hash-verified

552}
553
554func (ws *WshServer) SetConfigCommand(ctx context.Context, data wshrpc.MetaSettingsType) error {
555 return wconfig.SetBaseConfigValue(data.MetaMapType)
556}
557
558func (ws *WshServer) SetConnectionsConfigCommand(ctx context.Context, data wshrpc.ConnConfigRequest) error {
559 return wconfig.SetConnectionsConfigValue(data.Host, data.MetaMapType)

Callers

nothing calls this directly

Calls 1

SetBaseConfigValueFunction · 0.92

Tested by

no test coverage detected