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

Method getMetaString

common/proto/tree/node.go:555–564  ·  view source on GitHub ↗

getMetaString gets a metadata string

(namespace string)

Source from the content-addressed store, hash-verified

553
554// getMetaString gets a metadata string
555func (node *Node) getMetaString(namespace string) (meta string) {
556 if node.MetaStore == nil {
557 return ""
558 }
559 var ok bool
560 if meta, ok = node.MetaStore[namespace]; ok {
561 return meta
562 }
563 return ""
564}
565
566// ParseDurationDate transforms DurationDate field to proper MinDate/MaxDate values
567// variadic ref is passed mostly for test, should normally use NOW for reference time

Callers 3

GetMetaMethod · 0.95
GetMetaBoolMethod · 0.95
TestNodeMetaFunction · 0.95

Calls

no outgoing calls

Tested by 1

TestNodeMetaFunction · 0.76