(&self, id: BranchId)
| 150 | } |
| 151 | |
| 152 | fn has_branch(&self, id: BranchId) -> Result<bool, Self::Error> { |
| 153 | Ok(self.branches.contains_key(&id)) |
| 154 | } |
| 155 | |
| 156 | fn del_branch(&mut self, id: BranchId) -> Result<bool, Self::Error> { |
| 157 | if let Some(branch) = self.branches.remove(&id) { |
nothing calls this directly
no test coverage detected