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

Method String

pkg/waveobj/waveobj.go:36–41  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

34}
35
36func (oref ORef) String() string {
37 if oref.OType == "" || oref.OID == "" {
38 return ""
39 }
40 return fmt.Sprintf("%s:%s", oref.OType, oref.OID)
41}
42
43func (oref ORef) MarshalJSON() ([]byte, error) {
44 return json.Marshal(oref.String())

Callers 15

MarshalJSONMethod · 0.95
GenerateRouteIdMethod · 0.45
statToFileInfoFunction · 0.45
BadgeWatchPidCommandMethod · 0.45
GetBareRpcClientFunction · 0.45
SendComplexRequestMethod · 0.45
OnMethod · 0.45
MakeRandomProcRouteIdFunction · 0.45
updateActivityTEventFunction · 0.45
updateWshRunTEventFunction · 0.45
RecordTEventFunction · 0.45
MakeTEventFunction · 0.45

Calls

no outgoing calls

Tested by 3

dumpMethod · 0.36
makeTextFunction · 0.36