(gid int)
| 256 | } |
| 257 | |
| 258 | func (ctx *context) isGroupInUse(gid int) bool { |
| 259 | for _, m := range ctx.slots { |
| 260 | if m.GroupId == gid || m.Action.TargetId == gid { |
| 261 | return true |
| 262 | } |
| 263 | } |
| 264 | return false |
| 265 | } |
| 266 | |
| 267 | func (ctx *context) isGroupLocked(gid int) bool { |
| 268 | if g := ctx.group[gid]; g != nil { |
no outgoing calls
no test coverage detected