MCPcopy Create free account
hub / github.com/distributedio/titan / Len

Method Len

db/string.go:90–92  ·  view source on GitHub ↗

Len value len

()

Source from the content-addressed store, hash-verified

88
89// Len value len
90func (s *String) Len() (int, error) {
91 return len(s.Meta.Value), nil
92}
93
94// Exist returns ture if key exist
95func (s *String) Exist() bool {

Callers 2

TestTLSConfigFunction · 0.45
TestStringLenFunction · 0.45

Calls

no outgoing calls

Tested by 2

TestTLSConfigFunction · 0.36
TestStringLenFunction · 0.36