Sets the branch's state.
(&mut self, state: BranchState)
| 197 | |
| 198 | /// Sets the branch's state. |
| 199 | pub fn set_state(&mut self, state: BranchState) { |
| 200 | self.state = state; |
| 201 | } |
| 202 | |
| 203 | /// Sets the content hash. |
| 204 | pub fn set_line_hash(&mut self, hash: u64) { |
no outgoing calls