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

Function ParseORefNoErr

pkg/waveobj/waveobj.go:100–106  ·  view source on GitHub ↗
(orefStr string)

Source from the content-addressed store, hash-verified

98}
99
100func ParseORefNoErr(orefStr string) *ORef {
101 oref, err := ParseORef(orefStr)
102 if err != nil {
103 return nil
104 }
105 return &oref
106}
107
108type WaveObj interface {
109 GetOType() string // should not depend on object state (should work with nil value)

Callers 2

DeleteBlockFunction · 0.92
deleteBlockObjFunction · 0.92

Calls 1

ParseORefFunction · 0.85

Tested by

no test coverage detected