MCPcopy Create free account
hub / github.com/evilsocket/sum / Meta

Method Meta

wrapper/record.go:65–67  ·  view source on GitHub ↗

Meta returns the value of a record meta data given its name or an empty string if not found.

(name string)

Source from the content-addressed store, hash-verified

63// Meta returns the value of a record meta data given its name
64// or an empty string if not found.
65func (w *Record) Meta(name string) string {
66 return w.record.Meta[name]
67}
68
69// Equal returns whether the vectors have the same size and are element-wise equal.
70func (w *Record) Equal(b *Record) bool {

Callers 3

TestWrappedRecordMetaFunction · 0.80

Calls

no outgoing calls

Tested by 3

TestWrappedRecordMetaFunction · 0.64