Method
update_branch_state
(&mut self, id: BranchId, state: BranchState)
Source from the content-addressed store, hash-verified
| 165 | } |
| 166 | |
| 167 | fn update_branch_state(&mut self, id: BranchId, state: BranchState) -> Result<(), Self::Error> { |
| 168 | if let Some(branch) = self.branches.get_mut(&id) { |
| 169 | branch.set_state(state); |
| 170 | } |
| 171 | Ok(()) |
| 172 | } |
| 173 | |
| 174 | fn list_branches(&self, trunk_id: TrunkId) -> Result<Vec<BranchId>, Self::Error> { |
| 175 | Ok(self |
Callers
nothing calls this directly
Tested by
no test coverage detected