MCPcopy Create free account
hub / github.com/LagrangeDev/LagrangeGo / FriendCacheIsEmpty

Method FriendCacheIsEmpty

client/internal/cache/cache.go:118–120  ·  view source on GitHub ↗

FriendCacheIsEmpty 好友信息缓存是否为空

()

Source from the content-addressed store, hash-verified

116
117// FriendCacheIsEmpty 好友信息缓存是否为空
118func (c *Cache) FriendCacheIsEmpty() bool {
119 return !hasRefreshed[entity.User](c)
120}
121
122// GroupMembersCacheIsEmpty 群成员缓存是否为空
123func (c *Cache) GroupMembersCacheIsEmpty() bool {

Callers 4

GetUIDMethod · 0.80
GetUinMethod · 0.80
GetCachedFriendInfoMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected