(scope: OperationScope, heads: &[OperationId])
| 4684 | } |
| 4685 | |
| 4686 | fn multiple_heads_error(scope: OperationScope, heads: &[OperationId]) -> RepositoryError { |
| 4687 | RepositoryError::InvalidOperation { |
| 4688 | message: format!( |
| 4689 | "{scope} has {} operation heads; CB-1B refuses consolidation until CB-1C: {}", |
| 4690 | heads.len(), |
| 4691 | heads |
| 4692 | .iter() |
| 4693 | .map(ToString::to_string) |
| 4694 | .collect::<Vec<_>>() |
| 4695 | .join(", ") |
| 4696 | ), |
| 4697 | } |
| 4698 | } |
| 4699 | |
| 4700 | fn lease_divergence_error( |
| 4701 | effect: &EffectPlan, |
no outgoing calls
no test coverage detected