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

Method RefreshAllFriend

client/internal/cache/operation.go:25–27  ·  view source on GitHub ↗

RefreshAllFriend 刷新所有好友缓存

(friendCache map[uint32]*entity.User)

Source from the content-addressed store, hash-verified

23
24// RefreshAllFriend 刷新所有好友缓存
25func (c *Cache) RefreshAllFriend(friendCache map[uint32]*entity.User) {
26 refreshAllCacheOf(c, friendCache)
27}
28
29// RefreshGroupMember 刷新指定群的一个群成员缓存
30func (c *Cache) RefreshGroupMember(groupUin uint32, groupMember *entity.GroupMember) {

Callers 2

RefreshAllMethod · 0.95
RefreshFriendCacheMethod · 0.80

Calls 1

refreshAllCacheOfFunction · 0.85

Tested by

no test coverage detected