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

Function SetShortDesc

tsunami/app/defaultclient.go:188–194  ·  view source on GitHub ↗
(shortDesc string)

Source from the content-addressed store, hash-verified

186}
187
188func SetShortDesc(shortDesc string) {
189 shortDesc = util.TruncateString(shortDesc, MaxShortDescLen)
190 client := engine.GetDefaultClient()
191 m := client.GetAppMeta()
192 m.ShortDesc = shortDesc
193 client.SetAppMeta(m)
194}
195
196func DeclareSecret(secretName string, meta *SecretMeta) string {
197 client := engine.GetDefaultClient()

Callers

nothing calls this directly

Calls 4

TruncateStringFunction · 0.92
GetDefaultClientFunction · 0.92
GetAppMetaMethod · 0.80
SetAppMetaMethod · 0.80

Tested by

no test coverage detected