(&self, id: BranchId)
| 566 | } |
| 567 | |
| 568 | fn has_branch(&self, id: BranchId) -> Result<bool, Self::Error> { |
| 569 | Ok(self.branches.contains_key(&id)) |
| 570 | } |
| 571 | |
| 572 | fn del_branch(&mut self, id: BranchId) -> Result<bool, Self::Error> { |
| 573 | if let Some(branch) = self.branches.remove(&id) { |
no test coverage detected