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