(cap uint32)
| 200 | } |
| 201 | |
| 202 | func (c *Conn) UnsetCapability(cap uint32) { |
| 203 | c.capability &= ^cap |
| 204 | } |
| 205 | |
| 206 | func (c *Conn) HasCapability(cap uint32) bool { |
| 207 | return c.capability&cap > 0 |
nothing calls this directly
no outgoing calls
no test coverage detected