Allocate a new branch ID.
(&mut self)
| 252 | |
| 253 | /// Allocate a new branch ID. |
| 254 | fn alloc_branch(&mut self) -> BranchId { |
| 255 | let id = BranchId::new(self.change_id, self.next_branch); |
| 256 | self.next_branch += 1; |
| 257 | id |
| 258 | } |
| 259 | |
| 260 | /// Allocate a new leaf ID. |
| 261 | fn alloc_leaf(&mut self) -> LeafId { |
no outgoing calls
no test coverage detected