MCPcopy Create free account
hub / github.com/pydio/cells / ToString

Method ToString

common/proto/tree/node.go:640–649  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

638}
639
640func (m *MPath) ToString() string {
641 var b strings.Builder
642
643 b.WriteString(m.GetMPath1())
644 b.WriteString(m.GetMPath2())
645 b.WriteString(m.GetMPath3())
646 b.WriteString(m.GetMPath4())
647
648 return b.String()
649}
650
651func (m *MPath) Length() int {
652 if m == nil {

Callers 15

LengthMethod · 0.95
SiblingMethod · 0.95
ParentMethod · 0.95
ParentsMethod · 0.95
AppendMethod · 0.95
ConvertMethod · 0.80
ListNodesMethod · 0.80
BytesMethod · 0.80
StringMethod · 0.80
RunJavaScriptFunction · 0.80
UnmarshalMethod · 0.80

Calls 5

GetMPath1Method · 0.95
GetMPath2Method · 0.95
GetMPath3Method · 0.95
GetMPath4Method · 0.95
StringMethod · 0.65

Tested by 4

TestPathFunction · 0.64
TestArborescenceFunction · 0.64
hashNodeFunction · 0.64