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

Method GetFullConfigCommand

pkg/wshrpc/wshserver/wshserver.go:562–565  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

560}
561
562func (ws *WshServer) GetFullConfigCommand(ctx context.Context) (wconfig.FullConfigType, error) {
563 watcher := wconfig.GetWatcher()
564 return watcher.GetFullConfig(), nil
565}
566
567func (ws *WshServer) GetWaveAIModeConfigCommand(ctx context.Context) (wconfig.AIModeConfigUpdate, error) {
568 fullConfig := wconfig.GetWatcher().GetFullConfig()

Callers

nothing calls this directly

Calls 2

GetWatcherFunction · 0.92
GetFullConfigMethod · 0.80

Tested by

no test coverage detected