MCPcopy
hub / github.com/go-sql-driver/mysql / busy

Method busy

buffer.go:41–43  ·  view source on GitHub ↗

busy returns true if the read buffer is not empty.

()

Source from the content-addressed store, hash-verified

39
40// busy returns true if the read buffer is not empty.
41func (b *buffer) busy() bool {
42 return len(b.buf) > 0
43}
44
45// len returns how many bytes in the read buffer.
46func (b *buffer) len() int {

Callers 5

takeBufferMethod · 0.95
takeSmallBufferMethod · 0.95
takeCompleteBufferMethod · 0.95
ResetSessionMethod · 0.80
IsValidMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected