MCPcopy
hub / github.com/tinode/chat / String

Method String

server/store/types/types.go:150–153  ·  view source on GitHub ↗

String converts Uid to base64 string.

()

Source from the content-addressed store, hash-verified

148
149// String converts Uid to base64 string.
150func (uid Uid) String() string {
151 buf, _ := uid.MarshalText()
152 return string(buf)
153}
154
155// String32 converts Uid to lowercase base32 string (suitable for file names on Windows).
156func (uid Uid) String32() string {

Callers 10

genDbFunction · 0.95
topicUnregMethod · 0.95
PrefixIdMethod · 0.95
CreateMethod · 0.45
SaveMethod · 0.45
DeleteListMethod · 0.45
LinkAttachmentsMethod · 0.45
SetUidMethod · 0.45
DeltaMethod · 0.45
GiveAccessMethod · 0.45

Calls 1

MarshalTextMethod · 0.95

Tested by

no test coverage detected