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

Method RefreshGroup

client/internal/cache/operation.go:58–60  ·  view source on GitHub ↗

RefreshGroup 刷新一个群的群信息缓存

(group *entity.Group)

Source from the content-addressed store, hash-verified

56
57// RefreshGroup 刷新一个群的群信息缓存
58func (c *Cache) RefreshGroup(group *entity.Group) {
59 setCacheOf(c, group.GroupUin, group)
60}
61
62// RefreshAllGroup 刷新所有群的群信息缓存
63func (c *Cache) RefreshAllGroup(groupCache map[uint32]*entity.Group) {

Callers

nothing calls this directly

Calls 1

setCacheOfFunction · 0.85

Tested by

no test coverage detected