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

Method GetConnectionOverride

pkg/waveobj/metamap.go:26–35  ·  view source on GitHub ↗
(connName string)

Source from the content-addressed store, hash-verified

24}
25
26func (m MetaMapType) GetConnectionOverride(connName string) MetaMapType {
27 v, ok := m["["+connName+"]"]
28 if !ok {
29 return nil
30 }
31 if mval, ok := v.(map[string]any); ok {
32 return MetaMapType(mval)
33 }
34 return nil
35}
36
37func (m MetaMapType) GetStringList(key string) []string {
38 v, ok := m[key]

Callers 2

resolveEnvMapFunction · 0.80
getCustomInitScriptValueFunction · 0.80

Calls 1

MetaMapTypeTypeAlias · 0.85

Tested by

no test coverage detected