Method
update_branch_state
(
&mut self,
id: BranchId,
state: BranchState,
)
Source from the content-addressed store, hash-verified
| 529 | } |
| 530 | |
| 531 | fn update_branch_state( |
| 532 | &mut self, |
| 533 | id: BranchId, |
| 534 | state: BranchState, |
| 535 | ) -> Result<(), Self::Error> { |
| 536 | if let Some(branch) = self.branches.get_mut(&id) { |
| 537 | branch.set_state(state); |
| 538 | } |
| 539 | Ok(()) |
| 540 | } |
| 541 | |
| 542 | fn list_branches(&self, trunk_id: TrunkId) -> Result<Vec<BranchId>, Self::Error> { |
| 543 | Ok(self |
Callers
nothing calls this directly
Tested by
no test coverage detected