(
&self,
operation_id: OperationId,
)
| 2758 | } |
| 2759 | |
| 2760 | pub(super) fn load_operation( |
| 2761 | &self, |
| 2762 | operation_id: OperationId, |
| 2763 | ) -> Result<Operation, RepositoryError> { |
| 2764 | let txn = self.pristine.read_txn().map_err(pristine_error)?; |
| 2765 | txn.get_operation(operation_id) |
| 2766 | .map_err(pristine_error)? |
| 2767 | .ok_or_else(|| RepositoryError::InvalidOperation { |
| 2768 | message: format!("operation not found: {operation_id}"), |
| 2769 | }) |
| 2770 | } |
| 2771 | |
| 2772 | fn validate_operation_lock( |
| 2773 | &self, |
no test coverage detected