Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/tinode/chat
/ decodeUid
Function
decodeUid
server/db/postgres/tests/postgres_test.go:161–163 ·
view source on GitHub ↗
(u string)
Source
from the content-addressed store, hash-verified
159
}
160
161
func
decodeUid(u string) int64 {
162
return
store.DecodeUid(types.ParseUid(u))
163
}
164
165
func
encodeUid(u string) types.Uid {
166
id, _ := strconv.ParseInt(u, 10, 64)
Callers
12
TestTopicCreateP2P
Function · 0.70
TestUserUpdate
Function · 0.70
TestCredFail
Function · 0.70
TestCredConfirm
Function · 0.70
TestTopicOwnerChange
Function · 0.70
TestSubsUpdate
Function · 0.70
TestSubsDelete
Function · 0.70
TestDeviceUpsert
Function · 0.70
TestDeviceDelete
Function · 0.70
TestCredDel
Function · 0.70
TestMessageDeleteList
Function · 0.70
TestUserDelete
Function · 0.70
Calls
2
DecodeUid
Function · 0.92
ParseUid
Function · 0.92
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…