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

Method IsEmpty

pkg/waveobj/waveobj.go:47–50  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

45}
46
47func (oref ORef) IsEmpty() bool {
48 // either being empty is not valid
49 return oref.OType == "" || oref.OID == ""
50}
51
52func (oref *ORef) UnmarshalJSON(data []byte) error {
53 var orefStr string

Callers 2

BadgeWatchPidCommandMethod · 0.45
UpdateObjectMetaFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected