()
| 591 | } |
| 592 | |
| 593 | func (tx *Tx) checkTxIsClosed() error { |
| 594 | if tx.isClosed() { |
| 595 | return ErrTxClosed |
| 596 | } |
| 597 | return nil |
| 598 | } |
| 599 | |
| 600 | // put sets the value for a key in the bucket. |
| 601 | // Returns an error if tx is closed, if performing a write operation on a read-only transaction, if the key is empty. |
no test coverage detected