MCPcopy Index your code
hub / github.com/CodisLabs/codis / UpdateGroup

Method UpdateGroup

pkg/models/store.go:194–196  ·  view source on GitHub ↗
(g *Group)

Source from the content-addressed store, hash-verified

192}
193
194func (s *Store) UpdateGroup(g *Group) error {
195 return s.client.Update(s.GroupPath(g.Id), g.Encode())
196}
197
198func (s *Store) DeleteGroup(gid int) error {
199 return s.client.Delete(s.GroupPath(gid))

Callers 3

storeCreateGroupMethod · 0.80
storeUpdateGroupMethod · 0.80
handleConfigRestoreMethod · 0.80

Calls 3

GroupPathMethod · 0.95
UpdateMethod · 0.65
EncodeMethod · 0.45

Tested by

no test coverage detected