Reset the builder for reuse with a new file. # Arguments `path` - Path of the new file
(&mut self, path: impl Into<String>)
| 339 | /// |
| 340 | /// * `path` - Path of the new file |
| 341 | pub fn reset(&mut self, path: impl Into<String>) { |
| 342 | self.path = path.into(); |
| 343 | self.pending.clear(); |
| 344 | self.content_position = 0; |
| 345 | self.old_line = 0; |
| 346 | self.new_line = 0; |
| 347 | } |
| 348 | } |