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

Method String

db/db.go:72–74  ·  view source on GitHub ↗

String returns the string format of DBID

()

Source from the content-addressed store, hash-verified

70
71// String returns the string format of DBID
72func (id DBID) String() string {
73 return fmt.Sprintf("%03d", id)
74}
75
76// Bytes DBID returns a byte slice
77func (id DBID) Bytes() []byte {

Callers 15

BytesMethod · 0.95
ServeMethod · 0.45
StopMethod · 0.45
GracefulStopMethod · 0.45
logVersionInfoFunction · 0.45
GenerateTraceIDFunction · 0.45
WriteMethod · 0.45
serveMethod · 0.45
StartMethod · 0.45
StartMethod · 0.45
SetEqualMethod · 0.45
SetExEqualMethod · 0.45

Calls

no outgoing calls

Tested by 6

TestArray_EncodeFunction · 0.36
TestSimpleString_EncodeFunction · 0.36
TestBulkString_EncodeFunction · 0.36
TestError_EncodeFunction · 0.36
TestInteger_EncodeFunction · 0.36