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

Function getWaveObjDesc

pkg/waveobj/waveobj.go:176–182  ·  view source on GitHub ↗
(otype string)

Source from the content-addressed store, hash-verified

174}
175
176func getWaveObjDesc(otype string) *waveObjDesc {
177 desc, _ := waveObjMap.Load(otype)
178 if desc == nil {
179 return nil
180 }
181 return desc.(*waveObjDesc)
182}
183
184func GetOID(waveObj WaveObj) string {
185 desc := getWaveObjDesc(waveObj.GetOType())

Callers 7

GetOIDFunction · 0.85
SetOIDFunction · 0.85
GetVersionFunction · 0.85
SetVersionFunction · 0.85
GetMetaFunction · 0.85
SetMetaFunction · 0.85
FromJsonMapFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected