()
| 137 | |
| 138 | |
| 139 | func (t *txn) nop() { |
| 140 | if !t.c.waccess { |
| 141 | t.respondOsError(os.EACCES) |
| 142 | return |
| 143 | } |
| 144 | |
| 145 | if !t.c.canWrite { |
| 146 | t.respondErrCode(response_READONLY) |
| 147 | return |
| 148 | } |
| 149 | |
| 150 | go func() { |
| 151 | t.c.p.Propose([]byte(store.Nop)) |
| 152 | t.respond() |
| 153 | }() |
| 154 | } |
| 155 | |
| 156 | |
| 157 | func (t *txn) rev() { |
nothing calls this directly
no test coverage detected