(
&mut self,
id: BranchId,
state: BranchState,
)
| 587 | } |
| 588 | |
| 589 | fn update_branch_state( |
| 590 | &mut self, |
| 591 | id: BranchId, |
| 592 | state: BranchState, |
| 593 | ) -> Result<(), Self::Error> { |
| 594 | if let Some(branch) = self.branches.get_mut(&id) { |
| 595 | branch.set_state(state); |
| 596 | } |
| 597 | Ok(()) |
| 598 | } |
| 599 | |
| 600 | fn list_branches(&self, trunk_id: TrunkId) -> Result<Vec<BranchId>, Self::Error> { |
| 601 | Ok(self |
no test coverage detected