| 1 | package repair |
| 2 | |
| 3 | // overwritePendingUpdateForTest simulates an uncooperative on-disk rewrite. |
| 4 | // Production code can only create a new immutable pending transaction. |
| 5 | func overwritePendingUpdateForTest(tx *UpdateTransaction) error { |
| 6 | return writePendingUpdate(tx, false) |
| 7 | } |
| 8 |